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
?
For ConstraintLayout child's you can set default margin like is shown on the image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With