1
LinearLayout
orientation
布局内的空间的排列方式
vertical(垂直默认)
horizontal(水平)
layout_weight
RelativeLayout
layout_align+方位
layout_alignParent+方位
TableLayout
FrameLayout
AbsoluteLayout
layout_width,
layout_height
设置控件宽高:
1.固定宽高
2.wrap_content 其所需要的最小尺寸
3.match_parent 充满父布局
layout_margin+方位
padding+方位
layout_gravity
控件相对父控件的居中位置
1.center 正居中2.center_horizontal 水平居中3.center_vertical 垂直居中等
gravity