summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2015-05-05 10:37:52 -0700
committerByunghun Jeon <bjeon@codeaurora.org>2015-09-16 17:15:18 -0700
commit59b05fd1d75943f037aec41def16cdceb6443ecf (patch)
treebdc41665161e398f9992e7baff76243e1c1f3f9e /res/values/styles.xml
parent465c11e451e18b7f3e8109fdbbc56b866f7f8a56 (diff)
downloadandroid_packages_apps_Snap-59b05fd1d75943f037aec41def16cdceb6443ecf.tar.gz
android_packages_apps_Snap-59b05fd1d75943f037aec41def16cdceb6443ecf.tar.bz2
android_packages_apps_Snap-59b05fd1d75943f037aec41def16cdceb6443ecf.zip
SnapdragonCamera: Use floating components during video record.
During recording, there are only 2 widgets on UI. Directly attaching them to window manager and making main UI layer fully transparent can reduce power consumption. Change-Id: I8c4f4768ab91d50fc72080f0f6d7316ee2e60ef4
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index c6b99624e..b1d3843ca 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -24,9 +24,9 @@
<item name="android:windowActionBar">false</item>
<item name="android:windowTitleSize">0dp</item>
<item name="android:windowActionBarOverlay">true</item>
- <item name="android:windowBackground">@android:color/black</item>
- <item name="android:colorBackground">@android:color/black</item>
- <item name="android:colorBackgroundCacheHint">@android:color/black</item>
+ <item name="android:windowBackground">@null</item>
+ <item name="android:colorBackground">@null</item>
+ <item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:actionBarStyle">@style/Holo.ActionBar</item>
</style>
<style name="Theme.CameraBase" parent="android:Theme.Holo"/>