diff options
| author | Jin Cao <jinyan@google.com> | 2014-07-30 10:11:07 -0700 |
|---|---|---|
| committer | Jin Cao <jinyan@google.com> | 2014-07-31 10:22:38 -0700 |
| commit | 4db8cccf3332ad7c6fb1915f9f0f169953c3953a (patch) | |
| tree | 85ae1f41f0c70a670d306c4455da7a1a6240b1b7 /res/values-v17 | |
| parent | 6fc1fee597ebe3c30ebe5efebb4d6ea105641e0f (diff) | |
| download | android_frameworks_opt_chips-4db8cccf3332ad7c6fb1915f9f0f169953c3953a.tar.gz android_frameworks_opt_chips-4db8cccf3332ad7c6fb1915f9f0f169953c3953a.tar.bz2 android_frameworks_opt_chips-4db8cccf3332ad7c6fb1915f9f0f169953c3953a.zip | |
[Quantum chips] add delete button in dropdown
For single/alternate recipient dropdown there is
now a delete button next to the currently selected
contact for easier removal of the selected chip.
b/16383133
Change-Id: Ied238b91b42673142de88a159b50772bd6b7b937
Diffstat (limited to 'res/values-v17')
| -rw-r--r-- | res/values-v17/styles.xml | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/res/values-v17/styles.xml b/res/values-v17/styles.xml index 7674bad..f7b2477 100644 --- a/res/values-v17/styles.xml +++ b/res/values-v17/styles.xml @@ -21,29 +21,15 @@ <item name="android:paddingBottom">@dimen/chip_wrapper_bottom_padding</item> </style> - <style name="ChipTitleStartIconStyle" parent="@style/ChipTitleBaseStyle"> - <item name="android:layout_toEndOf">@android:id/icon</item> - </style> - - <style name="ChipTitleEndIconStyle" parent="@style/ChipTitleBaseStyle"> - <item name="android:layout_toStartOf">@android:id/icon</item> - </style> - - <style name="ChipSubtitleStartIconStyle" parent="@style/ChipSubtitleBaseStyle"> - <item name="android:layout_toEndOf">@android:id/icon</item> - </style> - - <style name="ChipSubtitleEndIconStyle" parent="@style/ChipSubtitleBaseStyle"> - <item name="android:layout_toStartOf">@android:id/icon</item> - </style> - <style name="ChipStartIconStyle" parent="@style/ChipIconBaseStyle"> <item name="android:layout_marginEnd">@dimen/chip_icon_margin_end</item> - <item name="android:layout_alignParentStart">true</item> </style> <style name="ChipEndIconStyle" parent="@style/ChipIconBaseStyle"> <item name="android:layout_marginStart">@dimen/chip_icon_margin_end</item> - <item name="android:layout_alignParentEnd">true</item> + </style> + + <style name="ChipDeleteIconStyle" parent="@style/ChipDeleteIconBaseStyle"> + <item name="android:paddingStart">20dp</item> </style> </resources> |
