summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJin Cao <jinyan@google.com>2014-08-05 20:01:52 -0700
committerJin Cao <jinyan@google.com>2014-08-05 20:01:52 -0700
commit46737050a95486de5f2a05851f22ec823ebd085a (patch)
tree5f3e6f0d09f9f14992590edea113d447dd6e590b
parentab71b73e33c39afbb11f03465309eb27f471e923 (diff)
downloadandroid_frameworks_opt_chips-46737050a95486de5f2a05851f22ec823ebd085a.tar.gz
android_frameworks_opt_chips-46737050a95486de5f2a05851f22ec823ebd085a.tar.bz2
android_frameworks_opt_chips-46737050a95486de5f2a05851f22ec823ebd085a.zip
[Quantum chips] use minHeight for autocomplete dropdown
Use minheight instead of actual height so it takes text size into account. b/16824867 Change-Id: I935195eca0fb69d0a3b52c803bb53fef0e411e26
-rw-r--r--res/layout/chips_autocomplete_recipient_dropdown_item.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/chips_autocomplete_recipient_dropdown_item.xml b/res/layout/chips_autocomplete_recipient_dropdown_item.xml
index 9b9ef7a..502a3ce 100644
--- a/res/layout/chips_autocomplete_recipient_dropdown_item.xml
+++ b/res/layout/chips_autocomplete_recipient_dropdown_item.xml
@@ -16,7 +16,8 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="@dimen/chip_dropdown_height"
+ android:layout_height="wrap_content"
+ android:minHeight="@dimen/chip_dropdown_height"
android:background="@drawable/chips_dropdown_background"
style="@style/ChipAutocompleteWrapperStyle">