summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorJin Cao <jinyan@google.com>2014-07-31 11:45:08 -0700
committerJin Cao <jinyan@google.com>2014-07-31 14:59:11 -0700
commit2c5ea4e0db34fb4990a79e83de75cc95508c356e (patch)
treeb52d0a1e92d70068934d8071385a4d83a8158c18 /res/values
parent550f15f6ab58abe8dca08ac8a0032b8e8930093d (diff)
downloadandroid_packages_apps_UnifiedEmail-2c5ea4e0db34fb4990a79e83de75cc95508c356e.tar.gz
android_packages_apps_UnifiedEmail-2c5ea4e0db34fb4990a79e83de75cc95508c356e.tar.bz2
android_packages_apps_UnifiedEmail-2c5ea4e0db34fb4990a79e83de75cc95508c356e.zip
[Quantum Compose] fix style padding for tablets
Tablet landscape paddings were off because it didn't inherit the attributes from the default ComposeArea. b/16383133 Change-Id: I9d21fa2fbb310481b8b066a21b0571914f8cb54e
Diffstat (limited to 'res/values')
-rw-r--r--res/values/styles.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index fc6d7b9ca..d56ed0dc0 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -946,11 +946,13 @@
<item name="android:background">@android:color/white</item>
</style>
- <style name="ComposeArea" parent="AbstractComposeArea">
+ <style name="AbstractComposeAreaWithRtl" parent="@style/AbstractComposeArea">
<item name="android:paddingLeft">@dimen/compose_area_start_padding</item>
<item name="android:paddingRight">@dimen/compose_area_end_padding</item>
</style>
+ <style name="ComposeArea" parent="AbstractComposeAreaWithRtl" />
+
<style name="ComposeAreaWrapper">
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:paddingLeft">@dimen/compose_wrapper_side_padding</item>