Fix bug 3383867 - default height for dropdown list items in framework layouts
Change-Id: I8a7553c3dc6b8c0eb95445c796c8298d1cdecc01
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<com.android.internal.view.menu.ListMenuItemView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dip"
|
||||
android:layout_height="?android:attr/dropdownListPreferredItemHeight"
|
||||
android:minWidth="196dip"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip">
|
||||
|
||||
@@ -22,5 +22,5 @@
|
||||
style="?android:attr/spinnerDropDownItemStyle"
|
||||
android:singleLine="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||
android:layout_height="?android:attr/dropdownListPreferredItemHeight"
|
||||
android:ellipsize="marquee" />
|
||||
|
||||
@@ -223,6 +223,9 @@
|
||||
<!-- The preferred right bound for an expandable list child's indicator. -->
|
||||
<attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
|
||||
|
||||
<!-- The preferred item height for dropdown lists. -->
|
||||
<attr name="dropdownListPreferredItemHeight" format="dimension" />
|
||||
|
||||
<!-- ============= -->
|
||||
<!-- Window styles -->
|
||||
<!-- ============= -->
|
||||
|
||||
@@ -95,6 +95,8 @@
|
||||
|
||||
<!-- List attributes -->
|
||||
<item name="listPreferredItemHeight">64dip</item>
|
||||
<item name="dropdownListPreferredItemHeight">64dip</item>
|
||||
|
||||
<!-- @hide -->
|
||||
<item name="searchResultListItemHeight">58dip</item>
|
||||
<item name="listDivider">@drawable/divider_horizontal_dark</item>
|
||||
@@ -813,6 +815,8 @@
|
||||
|
||||
<!-- List attributes -->
|
||||
<item name="listPreferredItemHeight">64dip</item>
|
||||
<item name="dropdownListPreferredItemHeight">48dip</item>
|
||||
|
||||
<!-- @hide -->
|
||||
<item name="searchResultListItemHeight">58dip</item>
|
||||
<item name="listDivider">@drawable/list_divider_holo_dark</item>
|
||||
@@ -1084,6 +1088,8 @@
|
||||
|
||||
<!-- List attributes -->
|
||||
<item name="listPreferredItemHeight">64dip</item>
|
||||
<item name="dropdownListPreferredItemHeight">48dip</item>
|
||||
|
||||
<!-- @hide -->
|
||||
<item name="searchResultListItemHeight">58dip</item>
|
||||
<item name="listDivider">@drawable/list_divider_holo_light</item>
|
||||
|
||||
Reference in New Issue
Block a user