xml - Android Dev Relative and Linear Layouts -


when have buttons on xml page, moving or enlarging them frustrating because can't make them go want. if want move right it'll instead move somewhere else randomly or nothing happen. because of relativelayout? , what's difference between relative , linear layouts?

1) relativelayout - views inside relativelayout relative position of other children in relativelayout.

2) linearlayout - views inside linearlayout in linear pattern either horizontal or vertical.

i use relativelayout unless inside linearlayout , need position single view in odd place against horizontal or vertical aspect of linearlayout. relativelayout can confusing because if change dimensions of 1 view in have adjust dimensions of other views relative view.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -