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
diff --git a/res-common/layout/contact_list_card.xml b/res-common/layout/contact_list_card.xml
index 93786aa..c20dbe7 100644
--- a/res-common/layout/contact_list_card.xml
+++ b/res-common/layout/contact_list_card.xml
@@ -21,19 +21,7 @@
android:id="@+id/list_card"
android:visibility="invisible">
<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"/>
- <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_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>