1、在TableLayout中,stretchColumns属性表示()
A、TableLayout的列数
B、TableLayout的行数
C、TableLayout最多能加入的列数
D、拉伸指定列填充满TableLayout
参考答案 :D
2、在下列选项中,设置线性布局方向的属性是()
A、orientation
B、gravity
C、layout_gravity
D、padding
参考答案 :A
3、Android相对布局中,使控件相对父控件底部对齐使用的属性是()。
A、android:layout_alignParentBottom
B、android:layout_alignBottom
C、android:layout_alignBaseline
D、android:layout_alignParentTop
参考答案 :A
4、绝对布局的标签名称是()
A、FrameLayout
B、LinearLayout
C、RelativeLayout
D、AbsoluteLayout
参考答案 :D
5、Android UI开发中,TableLayout的stretchColumns属性表示()
A、TableLayout的列数
B、TableLayout的行数
C、TableLayout最多能加入的列数
D、拉伸指定列填充满TableLayout
参考答案 :D
6、Android UI开发中,设置线性布局为垂直显示需修改的属性的()
A、android:orientation="vertical"
B、android:orientation="horizontal"
C、android:layout_centerHorizontal="true"
D、android:layout_centerVertical="true"
参考答案 :A
7、在线性布局文件中,把方向设置为水平方的属性是()
A、vertical
B、horizontal
C、fill_vertical
D、fill_horizontal
参考答案 :B
8、Android UI开发中,帧布局中的子控件都是()对齐的。
A、右上角
B、左上角
C、左下角