android - Constraint layout occasionally ignores changes to margins -


i working on activity using constraint layout. every once in while, when try increase margins on 1 of views, changes seem ignored. change margin in android studio ui, , change briefly takes effect, when move focus somewhere else on activity, shrinks old distance, while keeping new number. change appears in xml layout, when run in emulator, doesn't render. can fixed deleting , recreating view.

does know why happens or how fix it?

i'm not sure if answer question, if have 2 layout margin attributes of same direction, layout_marginleft , layout_marginstart, changes in design tab changes 1 of them, , defaults other, have change both manually in xml file.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -