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

Commit 6de6742d authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Align list header text with bar title and avatars

* icon left margin is always set to 16dp
* margin between icon and text is 24dp on phones and 32dp on tablets.

Bug 30178236

Change-Id: Iccd711a2e5b4fbb669f35b03e7df69f0eb3925f9
parent 1263defa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
        android:id="@+id/account_filter_icon"
        android:layout_height="@dimen/contact_browser_list_header_icon_size"
        android:layout_width="@dimen/contact_browser_list_header_icon_size"
        android:layout_marginStart="@dimen/contact_browser_list_header_left_margin"
        android:layout_marginStart="@dimen/contact_browser_list_header_icon_left_margin"
        android:layout_gravity="center_vertical"/>

    <TextView
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
    <dimen name="contact_browser_list_header_left_margin">@dimen/list_visible_scrollbar_padding</dimen>
    <dimen name="contact_browser_list_header_right_margin">24dip</dimen>
    <dimen name="contact_browser_list_top_margin">16dip</dimen>
    <dimen name="contact_browser_list_header_text_margin">32dp</dimen>

    <!-- Right margin of the floating action button -->
    <dimen name="floating_action_button_margin_right">32dp</dimen>
+2 −1
Original line number Diff line number Diff line
@@ -43,12 +43,13 @@
    <!-- Padding to be used between a visible scrollbar and the contact list -->
    <dimen name="list_visible_scrollbar_padding">32dip</dimen>

    <dimen name="contact_browser_list_header_icon_left_margin">16dp</dimen>
    <dimen name="contact_browser_list_header_left_margin">16dip</dimen>
    <dimen name="contact_browser_list_header_right_margin">@dimen/list_visible_scrollbar_padding</dimen>
    <dimen name="contact_browser_list_item_text_indent">8dip</dimen>
    <dimen name="contact_browser_list_header_height">48dp</dimen>
    <dimen name="contact_browser_list_header_icon_size">24dp</dimen>
    <dimen name="contact_browser_list_header_text_margin">20dp</dimen>
    <dimen name="contact_browser_list_header_text_margin">24dp</dimen>
    <!-- Width of a contact list item section header. -->
    <dimen name="contact_list_section_header_width">48dp</dimen>