高度设为0 权重为1却没有占除了另外一个布局的其他空间 可能父布局没有设定好 改回 android:layout_width="match_parent"android:layout_height="match_parent"