)
A: AlertDialog
B: Dialog
C: ShowDialog
D: Alert
举一反三
- 以下哪个类对应Android中的提示对话框?() A: AlertDialog B: Dialog C: ShowDialog D: Alert
- 以下哪个类型对应Android中的提示对话框() A: AlterDialog B: Dialog C: ShowDialog D: Alter
- android 中要显示对话框,要定义哪个类? A: AlertDialog.Builder B: AlertDialog C: Button D: Dialog
- 以下哪个不是Android中的消息提示机制( ) A: AlertDialog B: Notification C: Toast D: Menu
- Dialog是Android的对话框的基类。
内容
- 0
15. 在Android 中, AlertDialog 类可以实现多种对话框,包括(
- 1
以下JavaScript程序[br][/br] var x=prompt(“请输入1-5的数字!”,“”);[br][/br] switch (x) case “1”:alert(“one”);[br][/br] case “2”:alert(“two”); case “3”:alert(“three”); case “4”:alert(“four”); case “5”:alert(“five”);[br][/br] default:alert(“none”);[br][/br]运行以上程序,在提示对话框中输入“4”,依次弹出的对话框将输出: ( )。 A: four,none B: four,five,none C: five D: five,none
- 2
现有JavaScript程序[br][/br]var x=prompt(“请输入1-5的数字!”,“”);[br][/br]switch (x){[br][/br]case “1”:alert(“one”);break[br][/br]case “2”:alert(“two”);break case “3”:alert(“three”);break case “4”:alert(“four”);break case “5”:alert(“five”);break default: alert(“none”); }[br][/br]运行以上程序,在提示对话框中输入“4”,弹出的对话框将输出: ( ) A: fou B: four,five,none C: five D: five,none
- 3
在Android中,AlertDialog类可以实现多种对话框,包括() A: 带确定、中立和取消等N 个按钮的提示对话框 B: 带列表的列表对话框 C: 带多个单选列表项和N 个按钮的列表对话框 D: 带多个多选列表项和N 个按钮的列表对话框
- 4
AlertDialog可以生成带消息和按钮的提示对话框。( )