summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorMindy Pereira <mindyp@google.com>2011-08-19 14:10:57 -0700
committerMindy Pereira <mindyp@google.com>2011-08-19 15:36:23 -0700
commit89dd731a90ad5b616f77671caabe2941a0f01697 (patch)
tree66d1abde612ebc6a664750b036b6e609f34f7a88 /res/values/styles.xml
parent7b41b374ccb5acfe29ce5d7c98b0e0a611912c8f (diff)
downloadandroid_packages_apps_Email-89dd731a90ad5b616f77671caabe2941a0f01697.tar.gz
android_packages_apps_Email-89dd731a90ad5b616f77671caabe2941a0f01697.tar.bz2
android_packages_apps_Email-89dd731a90ad5b616f77671caabe2941a0f01697.zip
Update attachment ui to look like Gmail attachment ui; fix from padding.
Fixes Bug:5184434 Compose view doesn't match pixel perfects Change-Id: I7217eb4a63beedfd0bc00dffe9e0f29a5af6214c
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 4c8d4dbdc..3561579cc 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -121,6 +121,29 @@
<item name="android:singleLine">true</item>
</style>
+ <style name="attachment_container">
+ <item name="android:background">@drawable/attachment_background</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:orientation">horizontal</item>
+ </style>
+
+ <style name="attachment_name">
+ <item name="android:id">@id/attachment_name</item>
+ <item name="android:paddingLeft">5dip</item>
+ <item name="android:maxLines">1</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:textColor">@color/text_primary_color</item>
+ </style>
+
+ <style name="attachment_thumbnail">
+ <item name="android:layout_gravity">center_vertical</item>
+ <item name="android:paddingLeft">5dip</item>
+ <item name="android:layout_width">32dip</item>
+ <item name="android:layout_height">32dip</item>
+ </style>
+
<style name="action_bar_custom_view">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>