RelativeLayout
使用情景
A RelativeLayout is a very powerful utility for designing a user interface because it can eliminate nested view groups and keep your layout hierarchy flat, which improves performance. If you find yourself using several nested LinearLayout groups, you may be able to replace them with a single RelativeLayout.
另外就是RelativeLayout
它的布局文件是后面的覆盖前面的。这样我悬浮按钮之类的就使用它.所以同样的文字悬浮于图像上,也是用RelativeLayout
Layout属性
参考文章
相对位置分为两大种