一、高度充满父类容器
android:layout_width="自定义"
android:layout_height="0dp"
android:layout_weight="1"
二、宽度充满父类容器
android:layout_width="0dp"
android:layout_height="自定义"
android:layout_weight="1"
一、高度充满父类容器
android:layout_width="自定义"
android:layout_height="0dp"
android:layout_weight="1"
二、宽度充满父类容器
android:layout_width="0dp"
android:layout_height="自定义"
android:layout_weight="1"