Created
May 1, 2014 23:50
-
-
Save heinrichreimer/a6c4b04cf77631857e50 to your computer and use it in GitHub Desktop.
Use android wallpaper as activity background
This file contains 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
<resources> | |
<style name="Configuration.Theme" parent="Configuration.Theme.Base"> | |
<item name="android:windowContentOverlay">@null</item> | |
<item name="android:windowShowWallpaper">true</item> | |
<item name="android:windowBackground">#1000</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It didn't work for me (Android 9), but I managed to fix it:
In
styles.xml
add to thestyle
tag:and in
colors.xml
add to theresources
tag:My full
styles.xml
(yours will be different):and
colors.xml
: