Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIUI8必须要开启悬浮框权限么 #37

Open
dananmao opened this issue Jul 6, 2017 · 3 comments
Open

MIUI8必须要开启悬浮框权限么 #37

dananmao opened this issue Jul 6, 2017 · 3 comments

Comments

@dananmao
Copy link

dananmao commented Jul 6, 2017

No description provided.

@hss01248
Copy link
Owner

hss01248 commented Jul 7, 2017

不用啊

@dananmao
Copy link
Author

你的demo在miui8上都可以显示,但是集成到的我的项目中,为什么其他的dialog都可以正常显示,但是菊花loading必须要开启悬浮框权限才能显示?

@dananmao
Copy link
Author

你好,我知道什么原因了。是我没有设置activity,在MIUI8上菊花Loading正确的调用是StyledDialog.buildLoading("加载中...").setActivity(this).show(),才能不需要悬浮框权限而正常显示。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants