summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorLikai Ding <likaid@codeaurora.org>2016-06-30 14:27:30 +0800
committerLikai Ding <likaid@codeaurora.org>2016-06-30 14:27:30 +0800
commit8604e358f3d24d00d2db9a14eb69813a2a6bcb3e (patch)
treea9bd89bd3a951627ec9e0328636f3844f8c040f3 /res
parent7362c026871e6ce0bb2a6e9a3de6b55c9a917e96 (diff)
downloadandroid_packages_apps_Gallery2-8604e358f3d24d00d2db9a14eb69813a2a6bcb3e.tar.gz
android_packages_apps_Gallery2-8604e358f3d24d00d2db9a14eb69813a2a6bcb3e.tar.bz2
android_packages_apps_Gallery2-8604e358f3d24d00d2db9a14eb69813a2a6bcb3e.zip
SnapdragonGallery: Fix white gallery screen before showing photo
When firsh launch Galler, there is still a white screen. set GalleryActivity attribute windowBackground to black. Change-Id: I8d293595a4adb1183c93da0e2a79ee26e9a6ec48
Diffstat (limited to 'res')
-rw-r--r--res/values/styles.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 2508074cc..c3db0f362 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -306,6 +306,7 @@
<style name="AppTheme" parent="android:Theme.Material.Light">
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
+ <item name="android:windowBackground">@android:color/black</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">false</item>