Adding left and top padding to the contact list
Change-Id: Ib694507bd4a5897776e4f6262544b74bd07072dd
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index c63451a..5e4e085 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -45,4 +45,7 @@
<!-- Minimum height of a row in the Editor -->
<dimen name="editor_min_line_item_height">48dip</dimen>
+
+ <!-- Padding to be used between a visible scrollbar and the contact list -->
+ <dimen name="list_visible_scrollbar_padding">34dip</dimen>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 04d2dd6..87f7b94 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -87,6 +87,7 @@
<declare-styleable name="ContactListItemView">
<attr name="list_item_height" format="dimension"/>
+ <attr name="list_section_header_height" format="dimension"/>
<attr name="activated_background" format="reference"/>
<attr name="section_header_background" format="reference"/>
<attr name="list_item_divider" format="reference"/>
@@ -110,6 +111,7 @@
<item name="list_item_height">?android:attr/listPreferredItemHeight</item>
<item name="activated_background">@drawable/list_item_activated_background</item>
<item name="section_header_background">@drawable/section_header</item>
+ <item name="list_section_header_height">32dip</item>
<item name="list_item_divider">@drawable/list_item_divider</item>
<item name="list_item_padding_top">4dip</item>
<item name="list_item_padding_right">11dip</item>