安卓布局方式

布局方式

1 LinearLayout(线性布局)
  android:orientation="horizontal" //布局
  android:layout_width="fill_parent" //控件宽度
  android:layout_height="fill_parent" //控件高度

  注意:水平:horizontal 垂直:vertical
  wrap_content:宽度/高度和内容的宽度/高度相同
  fill_parent:宽度/高度是整个父组件的宽度/高度

原文地址:https://www.cnblogs.com/yangchan250/p/6875245.html