问题描述:
在项目中使用ikew0ng/SwipeBackLayout开源库做侧滑退出Activity的效果中,我们将application的主题项 android:windowIsTranslucent 设置为true,这样在滑动的时候就会露出下层控件了,但是在小米手机上会显示出桌面?
解决方法:
在主界面窗口上单独设置主题,将 android:windowIsTranslucent 设置为false
问题描述:
在项目中使用ikew0ng/SwipeBackLayout开源库做侧滑退出Activity的效果中,我们将application的主题项 android:windowIsTranslucent 设置为true,这样在滑动的时候就会露出下层控件了,但是在小米手机上会显示出桌面?
解决方法:
在主界面窗口上单独设置主题,将 android:windowIsTranslucent 设置为false