Bringing list item background in compliance with the mocks
Change-Id: Ia383f004c2ad0b985273c451cf367973f97c76db
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 323336d..f897ea5 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -91,8 +91,9 @@
</declare-styleable>
<declare-styleable name="ContactListItemView">
- <!-- An attribute that specifies a custom drawable for the pressed state in the contact list-->
- <attr name="pressedBackground" format="reference"/>
+ <attr name="list_item_height" format="dimension"/>
+ <attr name="background" format="reference"/>
+ <attr name="activated_background" format="reference"/>
<attr name="section_header_background" format="reference"/>
<attr name="list_item_divider" format="reference"/>
<attr name="list_item_padding_top" format="dimension"/>
@@ -112,7 +113,9 @@
</declare-styleable>
<style name="ContactBrowserTheme" parent="@android:Theme">
- <item name="pressedBackground">@*android:drawable/list_selector_background</item>
+ <item name="list_item_height">?android:attr/listPreferredItemHeight</item>
+ <item name="background">@drawable/list_selector</item>
+ <item name="activated_background">@drawable/list_item_activated_background</item>
<item name="section_header_background">@drawable/section_header</item>
<item name="list_item_divider">@drawable/list_item_divider</item>
<item name="list_item_padding_top">4dip</item>