Reputation: 2696
When we create a constraint to a view through the designer, it automatically creates margin for this constraint - 8dp
. There are a lot of cases when I don't need that margin, so I have to manually remove it (or change to 0dp
).
Is there a way we can customize a default margin for a constraint in ConstraintLayout
?
Upvotes: 6
Views: 4274
Reputation: 1232
For ConstraintLayout child's you can set default margin like is shown on the image.
Upvotes: 7