4.1Android绝对布局
LInearLayout
RelativeLayout
TableLayout
GridLayout
FrameLayout
AbsoluteLayout
4.1.2布局得类型
线性布局(LinearLayout)
- 线性布局是Android较为常用得布局方式,它使用标签表示
- 线性布局有两种方式指定控件位置,一种是水平方向,一种是竖直方向
- 标签属性:相当于html css样式属性;Android:开头
4.1.3相对布局(RelativeLayout)
在Eclipse中开发Android程序时,默认采用得就是相对布局
相对布局通常有两种形势:一种是相对与容器而言得,一种是相对于控件而言得
页面设计复杂建议使用此布局