Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca1040c2 authored by Andrew Lee's avatar Andrew Lee
Browse files

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
parent 3fae19b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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">