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

Commit 80626c17 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Remove edge shadows in list view on tablets (1/2)

* Remove leef and right margines from contact_list_card.
* Remove ContactListViewUtils.applyCardPaddingToView
  so that we can use the same layout on tablets.

Bug 30359040

Change-Id: I5209b32f8afe6c9e86ac29ba0239d32b21d643eb
parent b9499701
Loading
Loading
Loading
Loading
+2 −14
Original line number Diff line number Diff line
@@ -21,19 +21,7 @@
        android:id="@+id/list_card"
        android:visibility="invisible">
    <View
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="@integer/contact_list_space_layout_weight"
            android:background="@color/background_primary"/>
    <View
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:background="@color/contact_all_list_background_color"
            android:layout_weight="@integer/contact_list_card_layout_weight"
            android:elevation="@dimen/contact_list_card_elevation"/>
    <View
            android:layout_width="0dp"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="@integer/contact_list_space_layout_weight"
            android:background="@color/background_primary"/>
            android:background="@color/contact_all_list_background_color"/>
</LinearLayout>