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

activity跳转时若跳转按钮被双击则会显示桌面 #3

Open
ListZimo opened this issue Aug 19, 2019 · 0 comments
Open

activity跳转时若跳转按钮被双击则会显示桌面 #3

ListZimo opened this issue Aug 19, 2019 · 0 comments

Comments

@ListZimo
Copy link

问题点:似乎是滑动返回引起的问题
在targetSdkVersion >= 27时无法运行,原因是滑动返回配置冲突:
android:screenOrientation与android:windowIsTranslucent不应在targetSdkVersion >= 27时同时配置
同时配置是会引发Only fullscreen opaque activities can request orientation报错
解决方案改为targetSdkVersion <= 26
但是似乎引起了另一个问题
双击activity跳转按钮时会显示桌面
问题原因与android:windowIsTranslucent有关

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

1 participant