summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-11-03 18:00:56 +0800
committerAngus Kong <shkong@google.com>2011-11-04 09:37:10 +0800
commita2c8d40185095a1905f0063ebeb51ff62c0a0ab1 (patch)
tree279da88a6aee23773b03f8fc7fb03f2fef212741 /res/values
parent530a0dee238412cbdff39bd64295c74f39cc782e (diff)
downloadLegacyCamera-a2c8d40185095a1905f0063ebeb51ff62c0a0ab1.zip
LegacyCamera-a2c8d40185095a1905f0063ebeb51ff62c0a0ab1.tar.gz
LegacyCamera-a2c8d40185095a1905f0063ebeb51ff62c0a0ab1.tar.bz2
Change effect settings popup styles.
bug:5521011 Change-Id: Ia01bcbd8b1aa916406048b6890ab3439fe2f063a
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml6
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/values/styles.xml9
3 files changed, 14 insertions, 5 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 9618ae1..7d12a18 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -45,10 +45,10 @@
<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>
- <dimen name="effect_setting_type_text_size">18dp</dimen>
+ <dimen name="effect_setting_item_text_size">12sp</dimen>
+ <dimen name="effect_setting_type_text_size">12sp</dimen>
<dimen name="effect_setting_type_text_min_height">36dp</dimen>
<dimen name="effect_setting_clear_text_size">20dp</dimen>
- <dimen name="effect_setting_clear_text_min_height">36dp</dimen>
+ <dimen name="effect_setting_clear_text_min_height">45dp</dimen>
<dimen name="effect_setting_type_text_left_padding">16dp</dimen>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6fb9243..c4ebb22 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -322,10 +322,10 @@
<string name="clear_effects">Clear effects</string>
<!-- Title of category for silly face effects. [CHAR LIMIT=26] -->
- <string name="effect_silly_faces">Silly faces</string>
+ <string name="effect_silly_faces">SILLY FACES</string>
<!-- Title of category for background replacement effects. [CHAR LIMIT=26] -->
- <string name="effect_background">Background</string>
+ <string name="effect_background">BACKGROUND</string>
<!-- The shutter button. [CHAR LIMIT = NONE] -->
<string name="accessibility_shutter_button">Shutter button</string>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index e1b30f5..79cc759 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -222,12 +222,21 @@
<item name="android:textSize">@dimen/effect_setting_type_text_size</item>
<item name="android:gravity">left|center_vertical</item>
<item name="android:textColor">@android:color/white</item>
+ <item name="android:alpha">0.7</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:minHeight">@dimen/effect_setting_type_text_min_height</item>
<item name="android:paddingLeft">@dimen/effect_setting_type_text_left_padding</item>
</style>
+ <style name="EffectTypeSeparator">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_marginLeft">8dp</item>
+ <item name="android:layout_marginRight">8dp</item>
+ <item name="android:layout_marginBottom">14dp</item>
+ <item name="android:layout_height">2dp</item>
+ <item name="android:background">#2c2c2c</item>
+ </style>
<style name="EffectTitleSeparator">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">2dp</item>