RelativeLayout
is more flexible than LinearLayout
but if you have proper knowledge about LinearLayout
you Can use that too.
For LinearLayout
every attribute has a significant position hardcoded by the developer.
For RelativeLayout
you can change the position by relating with others attribute.