Search This Blog

April 17, 2016

Reference Ordering of elements in Relative Layout




Reference Ordering of elements in Relative Layout in Android is indeed important. See the difference between the outputs of the above layouts in screenshots below. Do feel free to copy paste the code snippets yourself and play your way.


UI Output from activity_android_ui_1.xml

UI Output from activity_android_ui_2.xml