summaryrefslogtreecommitdiffstats
path: root/res/values-land/styles.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-10-23 11:38:15 -0700
committerSunny Goyal <sunnygoyal@google.com>2014-10-23 11:41:34 -0700
commit0e375f947b698ac6d5bd294968d0cda3003a6f28 (patch)
tree9da92dd4c6d50a6849115565194835bff4bdefd1 /res/values-land/styles.xml
parent24e0fc122186641adf862327d9266da774f3c25f (diff)
downloadandroid_packages_apps_Trebuchet-0e375f947b698ac6d5bd294968d0cda3003a6f28.tar.gz
android_packages_apps_Trebuchet-0e375f947b698ac6d5bd294968d0cda3003a6f28.tar.bz2
android_packages_apps_Trebuchet-0e375f947b698ac6d5bd294968d0cda3003a6f28.zip
Some resource fixes for drop target
> Making it singleline with ellipsis everywhere > Decreasing the text size on smaller devices > Decreasing char limit for various labels Bug: 17563793 Bug: 17938450 Change-Id: I8ad1a156de0601d07419b2cc6418389bc2e24a4e
Diffstat (limited to 'res/values-land/styles.xml')
-rw-r--r--res/values-land/styles.xml20
1 files changed, 9 insertions, 11 deletions
diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml
index ac210d7de..8a255c91b 100644
--- a/res/values-land/styles.xml
+++ b/res/values-land/styles.xml
@@ -18,27 +18,25 @@
-->
<resources>
-<!-- Search Bar -->
- <style name="SearchButton">
- </style>
+
+ <!-- Search Bar -->
+ <style name="SearchButton"></style>
+
<style name="DropTargetButtonContainer">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
- <style name="DropTargetButton">
- <item name="android:layout_width">wrap_content</item>
+
+ <!-- This style applies to the drop target when it is shown in the sidebar -->
+ <style name="DropTargetButton" parent="DropTargetButton.Base">
<item name="android:layout_height">wrap_content</item>
- <item name="android:layout_gravity">center</item>
<item name="android:gravity">center</item>
+ <item name="android:drawablePadding">0dp</item>
<item name="android:paddingTop">@dimen/toolbar_button_vertical_padding</item>
<item name="android:paddingBottom">@dimen/toolbar_button_vertical_padding</item>
<item name="android:paddingLeft">@dimen/toolbar_button_horizontal_padding</item>
<item name="android:paddingRight">@dimen/toolbar_button_horizontal_padding</item>
<item name="android:shadowColor">#DD000000</item>
- <item name="android:shadowDx">0.0</item>
- <item name="android:shadowDy">1.0</item>
- <item name="android:shadowRadius">4.0</item>
</style>
-</resources>
-
+</resources> \ No newline at end of file