summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-09-21 12:20:42 +0800
committerWu-cheng Li <wuchengli@google.com>2011-09-21 15:55:05 +0800
commitc0c662c5acaa5b76e1cb90a7868d16e471e2bd93 (patch)
tree4da218cc6fe03bddcd5c4d53320baa3b4b97e864 /res/values
parent425d5ca6e7d330b6dc8f30850a20e385626a8350 (diff)
downloadLegacyCamera-c0c662c5acaa5b76e1cb90a7868d16e471e2bd93.zip
LegacyCamera-c0c662c5acaa5b76e1cb90a7868d16e471e2bd93.tar.gz
LegacyCamera-c0c662c5acaa5b76e1cb90a7868d16e471e2bd93.tar.bz2
Change video effect setting to a grid view.
bug:5226051 Change-Id: If3c6aece533a263411f55d21a9cc76282b021554
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml4
-rw-r--r--res/values/styles.xml29
2 files changed, 32 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 1e14663..fe1f2d7 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -40,6 +40,8 @@
<dimen name="setting_item_list_margin">6dp</dimen>
<dimen name="popup_title_text_size">18dp</dimen>
<dimen name="popup_title_frame_min_height">32dp</dimen>
- <dimen name="other_setting_popup_window_width">320dp</dimen>
+ <dimen name="big_setting_popup_window_width">320dp</dimen>
<dimen name="setting_item_icon_width">28dp</dimen>
+ <dimen name="effect_setting_item_icon_width">40dp</dimen>
+ <dimen name="effect_setting_item_text_size">12dp</dimen>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index ddd6371..91426c8 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -170,4 +170,33 @@
<item name="android:windowEnterAnimation">@anim/share_popup_enter</item>
<item name="android:windowExitAnimation">@anim/share_popup_exit</item>
</style>
+ <style name="EffectSettingGrid">
+ <item name="android:layout_marginLeft">@dimen/setting_item_list_margin</item>
+ <item name="android:layout_marginRight">@dimen/setting_item_list_margin</item>
+ <item name="android:paddingBottom">3dp</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:numColumns">3</item>
+ <item name="android:verticalSpacing">3dp</item>
+ <item name="android:horizontalSpacing">3dp</item>
+ </style>
+ <style name="EffectSettingItem">
+ <item name="android:orientation">vertical</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:paddingTop">9dp</item>
+ <item name="android:paddingBottom">9dp</item>
+ <item name="android:paddingLeft">2dp</item>
+ <item name="android:paddingRight">2dp</item>
+ <item name="android:background">@drawable/setting_picker</item>
+ </style>
+ <style name="EffectSettingItemTitle">
+ <item name="android:textSize">@dimen/effect_setting_item_text_size</item>
+ <item name="android:gravity">center</item>
+ <item name="android:textColor">@android:color/white</item>
+ <item name="android:singleLine">true</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:paddingTop">1dp</item>
+ </style>
</resources>