layout_weight属性一般只在LinearLayout布局管理器内有效。
查看答案
layout_weight属性通过设置比例所占权重的方式(即通过设置占比大小)设置控件尺寸。
A. 对
B. 错
layout_weight属性可能设置控件的宽度,也可能设置控件的高度。
A. 对
B. 错
LinearLayout的orientation属性值为vertical,则layout_weight属性可用于设置控件的宽度。
A. 对
B. 错
LinearLayout的orientation属性值为horizontal,则layout_weight属性可用于设置控件的宽度。
A. 对
B. 错