summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-05-15 17:52:09 -0700
committerOwen Lin <owenlin@google.com>2012-05-17 10:07:53 -0700
commite55c04de3937857fac46d0d46ef3106ce4d7bbea (patch)
tree70348d82a647753686eb64591f0c2ddd8bd93448
parentf442bd9ec64defaba6771ce44558798e29757ddd (diff)
downloadandroid_packages_apps_Snap-e55c04de3937857fac46d0d46ef3106ce4d7bbea.zip
android_packages_apps_Snap-e55c04de3937857fac46d0d46ef3106ce4d7bbea.tar.gz
android_packages_apps_Snap-e55c04de3937857fac46d0d46ef3106ce4d7bbea.tar.bz2
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.xml2
-rw-r--r--res/values/styles.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
index b71e039..0bf4d56 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 d619938..3c32cef 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>