diff options
author | Mindy Pereira <mindyp@google.com> | 2011-11-01 11:46:08 -0700 |
---|---|---|
committer | Mindy Pereira <mindyp@google.com> | 2011-11-01 11:46:08 -0700 |
commit | 708e23ffcc1bca889f7c528633dfe0f295ed9304 (patch) | |
tree | 645516eba32c5eaecc90f02209367439ca64cc94 /chips/res | |
parent | 920c95167574395b1ff9ecc16e41e13853269bbc (diff) | |
download | android_frameworks_ex-708e23ffcc1bca889f7c528633dfe0f295ed9304.tar.gz android_frameworks_ex-708e23ffcc1bca889f7c528633dfe0f295ed9304.tar.bz2 android_frameworks_ex-708e23ffcc1bca889f7c528633dfe0f295ed9304.zip |
Cleanup offsets for tablet and crespo chips dropdown
Fixes bug:5520790 polish chip suggestions dropdown
Change-Id: I7da7e913aa243e95671b6df4c3488bf1bf0e09ef
Diffstat (limited to 'chips/res')
-rw-r--r-- | chips/res/layout/chips_recipient_dropdown_item.xml | 3 | ||||
-rw-r--r-- | chips/res/values-sw600dp/styles.xml | 2 | ||||
-rw-r--r-- | chips/res/values/styles.xml | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/chips/res/layout/chips_recipient_dropdown_item.xml b/chips/res/layout/chips_recipient_dropdown_item.xml index 04bd31c..d678351 100644 --- a/chips/res/layout/chips_recipient_dropdown_item.xml +++ b/chips/res/layout/chips_recipient_dropdown_item.xml @@ -43,7 +43,8 @@ android:layout_height="wrap_content" android:paddingLeft="16dip" android:singleLine="true" - android:ellipsize="end" /> + android:ellipsize="end" + android:layout_marginTop="-4dip" /> </LinearLayout> <ImageView android:id="@android:id/icon" diff --git a/chips/res/values-sw600dp/styles.xml b/chips/res/values-sw600dp/styles.xml index 8576487..9cfb769 100644 --- a/chips/res/values-sw600dp/styles.xml +++ b/chips/res/values-sw600dp/styles.xml @@ -24,6 +24,6 @@ <item name="android:layout_height">wrap_content</item> <item name="android:layout_width">match_parent</item> <item name="android:dropDownVerticalOffset">0dip</item> - <item name="android:dropDownHorizontalOffset">0dip</item> + <item name="android:dropDownHorizontalOffset">-4dip</item> </style> </resources>
\ No newline at end of file diff --git a/chips/res/values/styles.xml b/chips/res/values/styles.xml index 4cf4f80..2b04b4f 100644 --- a/chips/res/values/styles.xml +++ b/chips/res/values/styles.xml @@ -22,7 +22,7 @@ <item name="android:layout_height">wrap_content</item> <item name="android:layout_width">match_parent</item> <item name="android:dropDownVerticalOffset">-6dip</item> - <item name="android:dropDownHorizontalOffset">0dip</item> + <item name="android:dropDownHorizontalOffset">-16dip</item> <item name="android:minHeight">48dip</item> <item name="android:lineSpacingExtra">4dip</item> </style> |