当使用了android:layout_weight时候,一定要设置android:layout_height="0dip"或者android:layout_width="0dip"。 绝对不能设定为fill_parent,不然就不会成比例了!