
AlertDialog
fingerth
还没写想好什么简述。。。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AlertDialog(对话框)的基础详解
1、确定取消对话框AlertDialog不可创建对象,要用AlertDialog.Builder builder = new Builder(conext);AlertDialog.Builder builder = new Builder(this); //创建对象 builder.setIcon(android.R.drawable.alert_light_fra原创 2015-12-03 14:39:51 · 796 阅读 · 0 评论 -
设置 AlertDialog窗口的大小
1)设置AlertDialog窗口大小的方法:AlertDialog dialog = new AlertDialog.Builder(this).create();dialog.show();WindowManager.LayoutParams params = dialog.getWindow().getAttributes();params.width = 200;params.he原创 2015-12-06 15:28:58 · 6700 阅读 · 0 评论 -
【工具类】Android自定义Dialog
Android自定义Dialog项目地址:https://github.com/fingerth/customprogressdialog 点击使用方法Step 1. Add the JitPack repository to your build fileAdd it in your root build.gradle at the end of repositories:...原创 2018-03-12 18:03:08 · 1109 阅读 · 0 评论