diff options
author | Angus Kong <shkong@google.com> | 2011-10-05 13:01:44 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2011-10-05 18:06:36 +0800 |
commit | e4d0a72cbc4633497c393019ff2c57e63b1039b9 (patch) | |
tree | 7f0c3fe67d4ea794bcfaa46e7b7f0c91cf7b0b03 /res/values | |
parent | ff1c641693cf537703fef3949ccf15898c3ad5d0 (diff) | |
download | LegacyCamera-e4d0a72cbc4633497c393019ff2c57e63b1039b9.zip LegacyCamera-e4d0a72cbc4633497c393019ff2c57e63b1039b9.tar.gz LegacyCamera-e4d0a72cbc4633497c393019ff2c57e63b1039b9.tar.bz2 |
Add time lapse label for Phone UI.
1. The behavior on tablet UI and phone UI now is the same.
2. The recording time and time lapse label now always stay on the top-left corner (even when in
portrait).
bug:5394916
Change-Id: Ifa5013748dbdda3a6c0083569ec3c565b4c687eb
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/dimens.xml | 1 | ||||
-rw-r--r-- | res/values/styles.xml | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index f34b2e5..40e3d25 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -39,6 +39,7 @@ <dimen name="setting_item_text_width">81dp</dimen> <dimen name="setting_popup_window_width">240dp</dimen> <dimen name="setting_item_list_margin">6dp</dimen> + <dimen name="indicator_bar_width">48dp</dimen> <dimen name="popup_title_text_size">22dp</dimen> <dimen name="popup_title_frame_min_height">60dp</dimen> <dimen name="big_setting_popup_window_width">320dp</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index 05eb0c1..b20dbfc 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -53,10 +53,15 @@ <item name="android:visibility">gone</item> <item name="android:src">@drawable/ic_gallery_play</item> </style> - <style name="RecordingTime"> + <style name="RecordingLabels"> + <item name="android:background">@color/on_viewfinder_label_background_color</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:paddingLeft">5dp</item> + <item name="android:paddingRight">5dp</item> + <item name="android:paddingTop">2dp</item> + <item name="android:paddingBottom">2dp</item> <item name="android:shadowDx">1</item> <item name="android:shadowDy">1</item> <item name="android:shadowRadius">1</item> @@ -141,6 +146,14 @@ <item name="android:visibility">gone</item> <item name="android:layout_marginRight">8dp</item> </style> + <style name="ViewfinderLableLayout"> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">match_parent</item> + <item name="android:layout_marginTop">13dp</item> + <item name="android:layout_marginBottom">13dp</item> + <item name="android:layout_marginLeft">13dp</item> + <item name="android:layout_marginRight">@dimen/indicator_bar_width</item> + </style> <style name="OnViewfinderLabel"> <item name="android:gravity">center</item> <item name="android:layout_width">wrap_content</item> |