Module : ICONDLG.CPP Purpose: Implementation for an MFC class for an Icon Picker dialog similar to the version found in Internet Explorer 4 PP2 Created: PJN / ICONDLG/1 / 25-07-1997 History: None Copyright (c) 1997 by PJ Naughter. All rights reserve
一个通用的Android端弹窗管理框架,内部维护弹窗优先级队列 具备弹窗管理扩展功能 整合Dialog,PoupoWindow,悬浮Widget,透明Webview,Toast,SnackBar,无需再为繁琐的业务弹窗逻辑所困扰如何添加依赖只需要两行代码轻松接入//add this to your repositories maven { url https://www.jitpack.io } //add this to your dependencies implementation
前言:圆角对话框在项目中用的越来越多,之前一篇文章有介绍过使用系统的AlertDialog+CardView(Android中使用CardView实现圆角对话框)实现了圆角对话框的样式,今天介绍自定义Dialog实现通用的圆角对话框。
效果图:
1.继承自AlertDialog,重写onCreat
/**
* Created by ruancw on 2018/6/7.
* 自定义的带圆角的对话框
*/
public class RoundCornerDialog extends Al