summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-12-08 18:48:57 +0800
committerWu-cheng Li <wuchengli@google.com>2010-12-10 13:06:17 +0800
commitac058a1c9895c2a47e94fd7e8c0b43a51dfd0e2c (patch)
treebe2e4e6d6b3bc0e9fa3d0afe0ac0f46ebd82b710 /res/values/styles.xml
parent587ed2356a337e809095ae44f22b5e85aad54583 (diff)
downloadpackages_apps_LegacyCamera-ac058a1c9895c2a47e94fd7e8c0b43a51dfd0e2c.zip
packages_apps_LegacyCamera-ac058a1c9895c2a47e94fd7e8c0b43a51dfd0e2c.tar.gz
packages_apps_LegacyCamera-ac058a1c9895c2a47e94fd7e8c0b43a51dfd0e2c.tar.bz2
Add time lapse recording code.
UI is not enabled because time lapse recording still has some problems. bug:2901600 Change-Id: I1d60be9b11f8b98928dd5acacb79c70a3c2330e9
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index a545454..ef7d199 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -61,7 +61,7 @@
<item name="android:layout_width">match_parent</item>
</style>
<style name="RecordingTime">
- <item name="android:layout_width">100dp</item>
+ <item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">26dp</item>
<item name="android:shadowColor">#c0000000</item>
<item name="android:shadowDx">1</item>
@@ -90,4 +90,18 @@
<item name="android:layout_width">wrap_content</item>
<item name="android:focusable">false</item>
</style>
+ <style name="OnViewfinderLabel">
+ <item name="android:gravity">center</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:singleLine">true</item>
+ <item name="android:layout_margin">20dp</item>
+ <item name="android:paddingLeft">15dp</item>
+ <item name="android:paddingRight">15dp</item>
+ <item name="android:paddingTop">3dp</item>
+ <item name="android:paddingBottom">3dp</item>
+ <item name="android:textColor">@android:color/white</item>
+ <item name="android:textSize">16dp</item>
+ <item name="android:background">@color/on_viewfinder_label_background_color</item>
+ </style>
</resources>