public void createConfirmDialog(Activity activity, String message){ AlertDialog.Builder alert = new AlertDialog.Builder(activity); alert.setTitle(message) .setPositiveButton(activity.getResources().getString(R.string.call), new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { } }) .setNegativeButton(activity.getResources().getString(R.string.cancel), new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { } }); alert.create().show(); }
相关推荐
android AlertDialog对话框的类型集合 ,比较全面的讲述了 AlertDialog 的 种类 , Demo 的综合性比较强 , Demo 可直接运行
Android alertDialog对话框.zip源码资源下载Android alertDialog对话框.zip源码资源下载
android AlertDialog使用例程 一个在安卓平台上开发使用AlertDialog的例子 很实用很全哦
Android AlertDialog对话框 自定义实现遮罩层
* 各种功能实现弹窗(自定义弹窗位置,添加动画效果) * 1.设置AlertDialog弹窗并且2秒后自动关闭(自定义关闭AlertDialog) * 2.设置popuwindow弹窗并且2秒后自动关闭 * 3.弹出后自带震动提示
android AlertDialog 单选 多选 输入框 疯狂android讲义
Android alertDialog对话框.rar
Android alertDialog对话框.zip
Android之AlertDialog源码
【Android】对话框 AlertDialog
Android之修改AlertDialog对话框及使用系统Holo风格
Android alertDialog对话框.zip项目安卓应用源码下载Android alertDialog对话框.zip项目安卓应用源码下载 1.适合学生毕业设计研究参考 2.适合个人学习研究参考 3.适合公司开发项目技术参考
Android入门第九篇之AlertDialog.docx
android 使用alertdialog创建自定义对话框
spots-dialog, 带有移动点进度指示器的Android AlertDialog 点进度对话框 Android AlertDialog随移动点进度指示器打包为Android库。 ========== =用法可以在 Maven 中央仓库中使用的库。 你可以使用以下方法获取它:...
android自定义AlertDialog,例如支付页面,先弹出自定义AlertDialog询问是否愿意支付,确定则弹出另外一个自定义AlertDialog,选择支付方式,android自定义AlertDialog,android自定义AlertDialog,android自定义...
安卓Android源码——alertDialog.rar
025_android UI组件之 AlertDialog 的各种实现,很细致的视频教程,这个可以学哦。。