Created
October 30, 2015 09:47
-
-
Save antonshkurenko/8973ac1463e57e93f427 to your computer and use it in GitHub Desktop.
No ui activity theme for the AppCompat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- No ui for appcompat --> | |
<style name="NoUiAppTheme" | |
parent="Theme.AppCompat.Light.NoActionBar"> | |
<item name="android:windowBackground">@null</item> | |
<item name="android:windowContentOverlay">@null</item> | |
<item name="android:windowIsTranslucent">true</item> | |
<item name="android:windowAnimationStyle">@null</item> | |
<item name="android:windowDisablePreview">true</item> | |
<item name="android:windowNoDisplay">true</item> | |
</style> |
Thanks.
Be careful because this solution crashes on Android 6.0 and above: https://commonsware.com/blog/2015/11/02/psa-android-6p0-theme.nodisplay-regression.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and