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

Commit b82d0d14 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Fix QuickContact entry padding to align text with icons

- Add a 5dp padding to the top of header TextView, to align it with the icons
- Reduce the top padding of icons and texts in the entry by 5dp, to remedy
  the 5dp added to the top of them by this CL and ag/865866.

Bug 27392076

Change-Id: I99ee26e857e526d37478be708534ee526875f1d1
parent 62a2074b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -41,6 +41,7 @@
        android:layout_width="wrap_content"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_alignParentTop="true"
        android:paddingTop="5dp"
        android:layout_toEndOf="@+id/icon"
        android:layout_toEndOf="@+id/icon"
        android:layout_toStartOf="@+id/icon_alternate"
        android:layout_toStartOf="@+id/icon_alternate"
        android:textColor="@color/quickcontact_entry_header_text_color"
        android:textColor="@color/quickcontact_entry_header_text_color"
+1 −1
Original line number Original line Diff line number Diff line
@@ -213,7 +213,7 @@
    <!-- Dimensions for an entry in ExpandingEntryCardView -->
    <!-- Dimensions for an entry in ExpandingEntryCardView -->
    <dimen name="expanding_entry_card_item_padding_start">20dp</dimen>
    <dimen name="expanding_entry_card_item_padding_start">20dp</dimen>
    <dimen name="expanding_entry_card_item_padding_end">20dp</dimen>
    <dimen name="expanding_entry_card_item_padding_end">20dp</dimen>
    <dimen name="expanding_entry_card_item_padding_top">18dp</dimen>
    <dimen name="expanding_entry_card_item_padding_top">13dp</dimen>
    <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen>
    <dimen name="expanding_entry_card_item_padding_bottom">16dp</dimen>
    <dimen name="expanding_entry_card_item_image_spacing">27dp</dimen>
    <dimen name="expanding_entry_card_item_image_spacing">27dp</dimen>