Defining Z order of views of RelativeLayout in Android

The easiest way is simply to pay attention to the order in which the Views are added to your XML file. Lower down in the file means higher up in the Z-axis.

Edit:
This is documented here and here on the Android developer site. (Thanks @flightplanner)

Leave a Comment