diff options
author | Owen Lin <owenlin@google.com> | 2012-05-15 17:52:09 -0700 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-05-17 10:07:53 -0700 |
commit | e55c04de3937857fac46d0d46ef3106ce4d7bbea (patch) | |
tree | 70348d82a647753686eb64591f0c2ddd8bd93448 | |
parent | f442bd9ec64defaba6771ce44558798e29757ddd (diff) | |
download | android_packages_apps_Snap-e55c04de3937857fac46d0d46ef3106ce4d7bbea.tar.gz android_packages_apps_Snap-e55c04de3937857fac46d0d46ef3106ce4d7bbea.tar.bz2 android_packages_apps_Snap-e55c04de3937857fac46d0d46ef3106ce4d7bbea.zip |
Set the window backgrond and remove it in onCreate().
To have better transistion when launching the app.
bug: 6494653
Change-Id: I0f28796d599931c676c99e8f19a9f34e05018570
-rw-r--r-- | res/values-xlarge/styles.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml index b71e0394b..0bf4d568b 100644 --- a/res/values-xlarge/styles.xml +++ b/res/values-xlarge/styles.xml @@ -17,7 +17,7 @@ <style name="Theme.Gallery" parent="android:Theme.Holo"> <item name="android:displayOptions"></item> <item name="android:actionBarStyle">@style/Holo.ActionBar</item> - <item name="android:windowBackground">@null</item> + <item name="android:windowBackground">@android:color/black</item> <item name="android:colorBackground">@null</item> <item name="android:colorBackgroundCacheHint">@null</item> </style> diff --git a/res/values/styles.xml b/res/values/styles.xml index d61993854..3c32cef6d 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -19,7 +19,7 @@ <item name="android:displayOptions"></item> <item name="android:windowContentOverlay">@null</item> <item name="android:actionBarStyle">@style/Holo.ActionBar</item> - <item name="android:windowBackground">@null</item> + <item name="android:windowBackground">@android:color/black</item> <item name="android:colorBackground">@null</item> <item name="android:colorBackgroundCacheHint">@null</item> </style> |