AlertDialog对话框的简单使用
来源:互联网 发布:h3c查看端口vlan 编辑:程序博客网 时间:2024/05/16 17:54
AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setTitle("标题"); builder.setMessage("提示内容"); builder.setCancelable(false); builder.setPositiveButton("确定", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { } }); builder.setNegativeButton("取消", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { } }); builder.show();
1 0
- AlertDialog对话框的简单使用
- Android简单弹出对话框AlertDialog的使用
- AlertDialog对话框的使用
- AlertDialog对话框的使用
- 对话框AlertDialog的使用
- 警告对话框AlertDialog的使用
- AlertDialog的简单使用
- 使用AlertDialog创建简单的对话框1-显示提示消息的对话框
- 简单对话框AlertDialog
- AlertDialog 对话框简单Dome
- 【Android】对话框AlertDialog的使用(一)
- 使用AlertDialog创建对话框的大致步骤
- Android中AlertDialog对话框的使用
- AlertDialog对话框的使用(四种)
- AlertDialog(对话框)的介绍和使用
- Android中AlertDialog(对话框)的使用
- 对话框的使用 AlertDialog 和ProgressDialog
- Android之AlertDialog(弹出式对话框)的使用
- Service(远程服务)
- Glide-入门教程
- MyEclipse汉字乱码问题
- poj 1611 并查集
- 树状数组(二)与poj2155
- AlertDialog对话框的简单使用
- MacOS不可或缺的套件管理工具---Homebrew
- android开发第一弹:短信SMS
- 工控安全漏洞举例
- (Sequence_Stack,pattern)数据结构实验之栈八:栈的基本操作
- 个人记录-LeetCode 87. Scramble String
- 问题讨论:超市取消称重台,在收银台称重收钱,并且只有1/3的收银台称重
- Android通过崩溃日志中控件id定位崩溃位置的方法
- Navicat连接Oracle数据库报错(ORA-28547)