![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 718 阅读 · 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 · 6558 阅读 · 0 评论 -
【工具类】Android自定义Dialog
Android自定义Dialog 项目地址:https://github.com/fingerth/customprogressdialog 点击 使用方法 Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: ...原创 2018-03-12 18:03:08 · 1048 阅读 · 0 评论