OSDN Git Service

Decrease drop target left and right padding.
authorTony Wickham <twickham@google.com>
Wed, 28 Sep 2016 23:22:36 +0000 (16:22 -0700)
committerTony Wickham <twickham@google.com>
Wed, 28 Sep 2016 23:22:36 +0000 (16:22 -0700)
Otherwise it looks like we are aggressively truncating the
text even though there is plenty of room to show it.

Bug: 31790418
Change-Id: Ia1cdc232f05815732d4cb95b954e935724a200fd

res/values/styles.xml

index 87a5629..cd06b75 100644 (file)
     <!-- Drop targets -->
     <style name="DropTargetButtonBase">
         <item name="android:drawablePadding">7.5dp</item>
-        <item name="android:paddingLeft">25dp</item>
-        <item name="android:paddingRight">25dp</item>
+        <item name="android:paddingLeft">16dp</item>
+        <item name="android:paddingRight">16dp</item>
         <item name="android:textColor">#FFFFFFFF</item>
         <item name="android:textSize">@dimen/drop_target_text_size</item>
         <item name="android:singleLine">true</item>