summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ben Murdoch <benm@google.com> 2011-10-10 12:14:50 +0100
committer Ben Murdoch <benm@google.com> 2011-10-10 17:19:55 +0100
commitd17423739f64fa2510acc998107579fa96bcabcf (patch)
tree4245f1aecc293964ffd0fd3fba6e9baba275520e
parentbdb3df82bb800de6f86de6b5bb2a4d29e09b3383 (diff)
Size Autocomplete drop down items correctly.
Fit the list item size to the content, and add a small amount of padding. Bug: 5420125 Change-Id: I50d6085654be77d1d314efad40df496e9c639c69
-rw-r--r--core/res/res/layout/web_text_view_dropdown.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/res/res/layout/web_text_view_dropdown.xml b/core/res/res/layout/web_text_view_dropdown.xml
index 1dce5cbbe6f3..1a6e9ebbd542 100644
--- a/core/res/res/layout/web_text_view_dropdown.xml
+++ b/core/res/res/layout/web_text_view_dropdown.xml
@@ -23,4 +23,7 @@ limitations under the License.
android:background="#ffffffff"
android:singleLine="true"
android:layout_width="match_parent"
- android:layout_height="?android:attr/searchResultListItemHeight" />
+ android:layout_height="wrap_content"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ android:paddingTop="3dip"
+ android:paddingBottom="3dip" />