kongzue / DialogX

💬 DialogX dialog box component library, easy to use, more customizable, more scalable, easy to achieve a variety of dialog boxes. DialogX对话框组件库,更加方便易用,可自定义程度更高,扩展性更强,轻松实现各种对话框、菜单和提示效果,更有Material You、iOS、MIUI等主题扩展可选
Apache License 2.0
2.08k stars 217 forks source link

WaitDialog会被DialogFragment遮挡 #108

Closed wjsir closed 3 years ago

wjsir commented 3 years ago

首先展示了一个DialogFragment,在DialogFragment中有一个按钮会展示一个WaitDialog,但是WaitDialog展示之后被DialogFragment遮挡了,有什么解决方法吗?

wjsir commented 3 years ago

应该是Window实现方式的缺陷 切换到DialogFragment实现模式可以解决这个问题 DialogX.implIMPLMode= DialogX.IMPL_MODE.DIALOG_FRAGMENT;

kongzue commented 3 years ago

这事正常的,DialogX默认使用View方式构建对话框,个人建议使用CustomDialog或其他组件替代DialogFragment实现。

wjsir commented 3 years ago

这事正常的,DialogX默认使用View方式构建对话框,个人建议使用CustomDialog或其他组件替代DialogFragment实现。

好的,感谢🌹