使用AlertDialog创建对话框的大致步骤
2014-11-13 23:40
162 查看
1、创建AlertDialog.Builder对象,该对象是AlertDialog的创建器。
2、调用AlertDialog.Builder的方法为对话框设置图标、标题、内容等。
3、调用AlertDialog.Builder的create()方法创建AlertDialog对话框。
4、调用AlertDialog的show()方法显示对话框。
2、调用AlertDialog.Builder的方法为对话框设置图标、标题、内容等。
3、调用AlertDialog.Builder的create()方法创建AlertDialog对话框。
4、调用AlertDialog的show()方法显示对话框。
相关文章推荐
- 使用AlertDialog创建对话框的大致步骤
- 使用AlertDialog创建对话框
- Adrnoid开发系列(二十五):使用AlertDialog创建各种类型的对话框
- Android使用AlertDialog创建对话框
- 使用AlertDialog创建单选列表对话框
- 使用AlertDialog创建单选列表对话框
- android学习之使用AlertDialog创建对话框
- alertdialog(一)——使用alertdialog创建单选列表对话框
- 使用AlertDialog创建对话框
- 【Android开发】消息提示框与对话框-使用AlertDialog创建对话框
- 2.5.2 使用alertdialog 创建列表对话框
- 使用 AlertDialog 创建列表对话框及自定义对话框
- 使用AlertDialog创建简单的对话框1-显示提示消息的对话框
- Adrnoid开发系列(二十五):使用AlertDialog创建各种类型的对话框
- 使用AlertDialog 创建四种常见的对话框
- 使用AlertDialog类创建对话框
- 为什么要使用AlertDialog.Builder创建AlertDialog对话框
- 2.5.3 使用alertDialog创建自定义对话框
- 使用AlertDialog创建对话框
- 使用AlertDialog创建列表对话框