layout_weight 即布局比重
若使用比重布局,通常android:layout_width属性不起作用,将其设置为“0”,根据想要布局的比例,设定android:layout_weight的值,值越大,所占布局越大
<TextView /> 相当于 <TextView></TextView>
layout_weight 即布局比重
若使用比重布局,通常android:layout_width属性不起作用,将其设置为“0”,根据想要布局的比例,设定android:layout_weight的值,值越大,所占布局越大
<TextView /> 相当于 <TextView></TextView>