summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJin Cao <jinyan@google.com>2014-07-29 17:56:44 -0700
committerJin Cao <jinyan@google.com>2014-07-29 17:59:10 -0700
commit6fc1fee597ebe3c30ebe5efebb4d6ea105641e0f (patch)
treeac925fe0b2cbe20e8214fd89f1b680b446520854 /res/layout
parent58d541de27090b4bd55746368b3b3b1486a7c094 (diff)
downloadandroid_frameworks_opt_chips-6fc1fee597ebe3c30ebe5efebb4d6ea105641e0f.tar.gz
android_frameworks_opt_chips-6fc1fee597ebe3c30ebe5efebb4d6ea105641e0f.tar.bz2
android_frameworks_opt_chips-6fc1fee597ebe3c30ebe5efebb4d6ea105641e0f.zip
[Quantum] update alt/single chips to quantum
Updated UI for alternates/single chips dropdown. Not included: X button next to selected chip for removal. b/15934812 Change-Id: Id34e28f1783f85ffbe33f82b1d230c3def27589a
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/chips_autocomplete_recipient_dropdown_item.xml2
-rw-r--r--res/layout/chips_recipient_dropdown_item.xml5
2 files changed, 4 insertions, 3 deletions
diff --git a/res/layout/chips_autocomplete_recipient_dropdown_item.xml b/res/layout/chips_autocomplete_recipient_dropdown_item.xml
index 3f35e86..4f8427d 100644
--- a/res/layout/chips_autocomplete_recipient_dropdown_item.xml
+++ b/res/layout/chips_autocomplete_recipient_dropdown_item.xml
@@ -16,7 +16,7 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="@dimen/chip_dropdown_height"
android:background="@drawable/chips_dropdown_background"
style="@style/ChipAutocompleteWrapperStyle">
diff --git a/res/layout/chips_recipient_dropdown_item.xml b/res/layout/chips_recipient_dropdown_item.xml
index 343bf61..ec0740b 100644
--- a/res/layout/chips_recipient_dropdown_item.xml
+++ b/res/layout/chips_recipient_dropdown_item.xml
@@ -16,8 +16,9 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/chips_dropdown_background">
+ android:layout_height="@dimen/chip_dropdown_height"
+ android:background="@drawable/chips_dropdown_background"
+ android:padding="16dp">
<com.android.ex.chips.CircularImageView style="@style/ChipStartIconStyle" />