相关考题
-
单项选择题
android中要显示对话框,要定义哪个类?()
A.AlertDialog.Builder
B.AlertDialog
C.Button
D.Dialog -
单项选择题
Fragment中如何获取Activity的实例?()
A.在Fragment的onCreate()方法获取
B.Fragment不能获取
C.在Fragment的onAttach()方法获取
D.Fragment中有指向Activity的实例 -
单项选择题
在线性布局中,通过()设置gravity的值可以让其中的控件在布局的底端靠右。
A.right
B.bottom
C.top∣right
D.right∣bottom
