I have tried to set the margins to a ConstraintSet into the ConstraintSet.LEFT anchor. But it doesn't work. However when using the ConstraintSet.START anchor, it works.
I am using constraints programmatically, and I tried setting the margins with both ConstraintSet.connect, as in:
(Does't work)
set.connect(view.getId(), ConstraintSet.LEFT, ConstraintSet.PARENT_ID, ConstraintSet.LEFT, MARGIN);
(Works)
set.connect(view.getId(), ConstraintSet.START, ConstraintSet.PARENT_ID, ConstraintSet.START, MARGIN);
And, I also tried with ConstraintSet.setMargin, as in:
(Doesn't work)
set.setMargin(view.getId(), ConstraintSet.LEFT, MARGIN);
(Works)
set.setMargin(view.getId(), ConstraintSet.START, MARGIN);
you must use START and END