diff options
| author | Adam Powell <adamp@google.com> | 2010-10-24 13:17:15 -0700 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2010-10-24 13:17:15 -0700 |
| commit | f876cc72c015d1d8e5824de4844f66a3e9918c2a (patch) | |
| tree | 5a55e4a6564e47f2c8deccde1e09aa92ed644f88 | |
| parent | 50ae1dc3a4ed563ad7ad96adaa0353567474545c (diff) | |
| download | frameworks_base-f876cc72c015d1d8e5824de4844f66a3e9918c2a.zip frameworks_base-f876cc72c015d1d8e5824de4844f66a3e9918c2a.tar.gz frameworks_base-f876cc72c015d1d8e5824de4844f66a3e9918c2a.tar.bz2 | |
Fix list dividers for holo
Change-Id: I7d5a8e735887d3c278dd8a559d9c85fb26f4eba5
| -rw-r--r-- | core/res/res/values/styles.xml | 4 | ||||
| -rw-r--r-- | core/res/res/values/themes.xml | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 7ed5a1b..6f6f1db 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -1332,6 +1332,8 @@ </style> <style name="Widget.Holo.ListView" parent="Widget.ListView"> + <item name="android:divider">?android:attr/listDivider</item> + <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> </style> <style name="Widget.Holo.ListView.White"> @@ -1604,7 +1606,7 @@ <style name="Widget.Holo.Light.ImageWell" parent="Widget.ImageWell"> </style> - <style name="Widget.Holo.Light.ListView" parent="Widget.ListView"> + <style name="Widget.Holo.Light.ListView" parent="Widget.Holo.ListView"> </style> <style name="Widget.Holo.Light.ListView.White"> diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index 25951a1..7f6da2a 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -703,7 +703,7 @@ <item name="listPreferredItemHeight">64dip</item> <!-- @hide --> <item name="searchResultListItemHeight">58dip</item> - <item name="listDivider">@drawable/list_divider_horizontal_holo_dark</item> + <item name="listDivider">@drawable/list_divider_holo_dark</item> <item name="listSeparatorTextViewStyle">@android:style/Widget.Holo.TextView.ListSeparator</item> <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_dark</item> @@ -713,7 +713,7 @@ <item name="activatedBackgroundIndicator">@android:drawable/activated_background_holo_dark</item> - <item name="listDividerAlertDialog">@android:drawable/list_divider_horizontal_holo_dark</item> + <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_dark</item> <item name="expandableListPreferredItemPaddingLeft">40dip</item> <item name="expandableListPreferredChildPaddingLeft"> @@ -936,7 +936,7 @@ <item name="listPreferredItemHeight">64dip</item> <!-- @hide --> <item name="searchResultListItemHeight">58dip</item> - <item name="listDivider">@drawable/divider_horizontal_holo_light</item> + <item name="listDivider">@drawable/list_divider_holo_light</item> <item name="listSeparatorTextViewStyle">@android:style/Widget.Holo.Light.TextView.ListSeparator</item> <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_light</item> @@ -957,7 +957,7 @@ <item name="expandableListPreferredChildIndicatorRight"> ?android:attr/expandableListPreferredItemIndicatorRight</item> - <item name="listDividerAlertDialog">@android:drawable/divider_horizontal_holo_light</item> + <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_light</item> <!-- Gallery attributes --> <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> |
