很多人都发过,不用看了,这只是自己学习的一个记录
LinearLayout(线性布局)
RelativeLayout(相对布局)
参考 http://www.runoob.com/w3cnote/android-tutorial-relativelayout.html
父容器定位属性示意图
兄弟组件就是处于同一层次容器的组件
TableLayout(表格布局)
FrameLayout(帧布局)
- android:foreground:*设置改帧布局容器的前景图像
- android:foregroundGravity:设置前景图像显示的位置
AbsoluteLayout(绝对布局)
不建议使用