I understand the functionality of liner and relative layout.
But I am confused which one to pick for the activity since I can full fill my requirment with both of them.
As I am working on emulator , So I think I am missing something, Is there any guidance or litmus on when to use which layout ?
This is how I nest the various views. from this example you can see that I use the ScrollView at the lowest level so that the view can scroll easily.
I then use the linear layout ontop of the scrollview so that I can simply stack widgets on the screen row by row.
Finally, I use the RelativeLayout so that I can use the “layout_alignParentBottom” parameter and make the button show on the bottom of the view.