<强>
强>
<强>一、LinearLayout线性布局强>
(1)线性布局分为垂直和水平两个方向
<>之前,,,,,android:取向=按怪薄? ,,,,android:取向=昂嵯颉?/pre>(2)定义宽和高
<>之前,,,,,铺满父级容器:match_parent ,,,,根据内容自适应:wrap_content <>之前,,,,,android: layout_width=" " ,,,,android: layout_height=" "(3)设置权重
<>之前,,,,,,android: layout_weight=" 1 ",,全部<强>二,RelativityLayout相对布局强>
<强>,,强>
,,,,
,,,,
,,,,
,,,,
,,,,
,,,,
,,,,
,,,,
,,,,
<强>三,FrameLayout 强>
用的比较少,加进来的控件自动堆叠在一起。日后再补充<强>
强>