Match contact list items to redlines for Dialer.
- Add text offset top functionality in the pinned header and
headers. In the pinned header this was done with padding, because
the pinned header is a (assumeedly vertically centered) child and
then the parent doesn't need to be privy to these details.
- Update width and font size. I imagine we want these changes to
be consistent between Dialer and Contacts, which is why this was
done here instead of in Dialer.
Bug: 15332945
Change-Id: If2ebf8117f528316b256a86ed9922f917e9c75ae
diff --git a/res-common/values/dimens.xml b/res-common/values/dimens.xml
index a966dcd..66e3fda 100644
--- a/res-common/values/dimens.xml
+++ b/res-common/values/dimens.xml
@@ -54,7 +54,7 @@
<dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding</dimen>
<dimen name="contact_browser_list_item_text_indent">8dip</dimen>
<!-- Width of a contact list item section header. -->
- <dimen name="contact_list_section_header_width">40dp</dimen>
+ <dimen name="contact_list_section_header_width">48dp</dimen>
<!-- Size of the shortcut icon. 0dip means: use the system default -->
<dimen name="shortcut_icon_size">0dip</dimen>
diff --git a/res-common/values/styles.xml b/res-common/values/styles.xml
index 488deda..2606d5c 100644
--- a/res-common/values/styles.xml
+++ b/res-common/values/styles.xml
@@ -21,10 +21,10 @@
</style>
<style name="SectionHeaderStyle" parent="@android:style/TextAppearance.Large">
- <item name="android:textSize">18sp</item>
+ <item name="android:textSize">20sp</item>
<item name="android:textAllCaps">true</item>
<item name="android:textColor">@color/section_header_text_color</item>
- <item name="android:fontFamily">sans-serif</item>
+ <item name="android:fontFamily">sans-serif-medium</item>
</style>
<style name="DirectoryHeaderStyle" parent="@android:style/TextAppearance.Small">