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

Commit 00caeae6 authored by Brian Attwell's avatar Brian Attwell
Browse files

Increase padding above contact list

Padding above the first image should be equal to the padding
between images in the contact list.

Bug: 17438022
Change-Id: Id0cf0b17bca527da3a2ab7672b2d7ba9158ba518
parent d3229ff5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@
        android:layout_marginRight="?attr/contact_browser_list_padding_right"
        android:layout_marginStart="?attr/contact_browser_list_padding_left"
        android:layout_marginEnd="?attr/contact_browser_list_padding_right"
        android:paddingTop="@dimen/contact_browser_list_item_padding_top_or_bottom"
        android:clipToPadding="false"
        android:fastScrollEnabled="true"/>

    <TextView android:id="@android:id/empty"
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:paddingTop="@dimen/contact_browser_list_item_padding_top_or_bottom"
        android:clipToPadding="false"
        android:fastScrollEnabled="true"
        android:layout_weight="1"
    />
+0 −1
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@
    <dimen name="search_view_width">400dip</dimen>
    <dimen name="contact_tile_list_padding_top">18dip</dimen>
    <dimen name="contact_browser_list_item_text_size">18sp</dimen>
    <dimen name="contact_browser_list_item_padding_top_or_bottom">12dp</dimen>
    <dimen name="contact_browser_list_item_photo_size">50dp</dimen>
    <dimen name="contact_browser_list_item_gap_between_image_and_text">25dp</dimen>
    <dimen name="contact_browser_list_top_margin">18dp</dimen>
+5 −1
Original line number Diff line number Diff line
@@ -198,5 +198,9 @@
    <!-- Width of the box around a tab when the tab has focus -->
    <dimen name="tab_focused_stroke_width">1dp</dimen>

    <dimen name="contact_browser_list_item_padding_top_or_bottom">8dp</dimen>
    <!-- This value should be kept at (?android:attr/listPreferredItemHeight -
      @dimen/contact_browser_list_item_photo_size) / 2 or greater. Otherwise, this padding
      will never take affect inside list items. As a result, the padding at the very top
      of ListView's will not match the padding inside list items -->
    <dimen name="contact_browser_list_item_padding_top_or_bottom">12dp</dimen>
</resources>