题目内容

如果要让标签文本(TextView)上的文字居中显示,需要设置哪个属性

A. android:gravity
B. android:layout_weight
C. android:orientation
D. android:layout_gravity

查看答案
更多问题

要使RadioGroup中的一组RadioButton水平排列,应该如何设置

A. android:orientation="horizontal"
B. android:orientation="vertical"

要使RadioGroup中的一组RadioButton按照一定方式进行排列,应该设置哪个属性

A. orientation
B. text
C. id
D. checked

设置RadioButton默认为选中状态,应该将checked属性设置为

A. false
B. true

如果需要捕捉某个组件的事件,需要为该组件创建()

A. 属性
B. 监听
C. 方法
D. 工程

答案查题题库