YeLearns icon indicating copy to clipboard operation
YeLearns copied to clipboard

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

Open ListZimo opened this issue 5 years ago • 0 comments

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

ListZimo avatar Aug 19 '19 07:08 ListZimo