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

使用SYDialog屏幕旋转问题 #7

Open
androiddeveloper-ops opened this issue Jan 9, 2020 · 1 comment
Open

使用SYDialog屏幕旋转问题 #7

androiddeveloper-ops opened this issue Jan 9, 2020 · 1 comment

Comments

@androiddeveloper-ops
Copy link

androiddeveloper-ops commented Jan 9, 2020

SYDialog创建并show之后,如果此时屏幕旋转,那么Dialog将会消失,留下一层阴影。
我在所属的Activity配置节点中加入如下参数:
android:configChanges="keyboardHidden|orientation|screenSize"

屏幕旋转,Dialog会保持,但是如果是横屏状态show dialog之后,屏幕旋转为竖屏,Dialog窗口不会重绘,导致窗口溢出。

Screenshot_2020-01-09-21-06-16-781_com ysh loading

如图所示,虽然这个问题基本上可以说不是问题,因为没有人会没事拿着手机转来转去,但是还想想看看大佬怎么解决的😁

@2022happynew
Copy link

我也遇到这个问题,不知道有没有好的解决办法?

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