线性布局下有两个相对布局
当第一个相对布局如下:
<RelativeLayout android:id="@+id/silentLayout"
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="vertical" >
当 android:layout_height="40dp" 变为 android:layout_height="match_parent"
的时候第二个线性布局就会被第一个线性布局覆盖。
来源:CSDN
作者:玄冥之巅
链接:https://blog.csdn.net/kingda008/article/details/7911200