diff --git a/res/layout/suggestion_container.xml b/res/layout/suggestion_container.xml index 95a00cca1c9..ee7631dc24f 100644 --- a/res/layout/suggestion_container.xml +++ b/res/layout/suggestion_container.xml @@ -23,40 +23,11 @@ android:paddingTop="2dp" android:orientation="vertical"> - - - - - - - - diff --git a/res/layout/suggestion_tile.xml b/res/layout/suggestion_tile.xml index 850e55ae025..9493e2d5f80 100644 --- a/res/layout/suggestion_tile.xml +++ b/res/layout/suggestion_tile.xml @@ -18,8 +18,10 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/suggestion_card" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" app:cardPreventCornerOverlap="false" app:cardUseCompatPadding="true" app:cardElevation="2dp" @@ -27,8 +29,8 @@ + android:layout_marginBottom="6dp" /> diff --git a/res/layout/suggestion_tile_two_cards.xml b/res/layout/suggestion_tile_two_cards.xml new file mode 100644 index 00000000000..c06fb7aabf3 --- /dev/null +++ b/res/layout/suggestion_tile_two_cards.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/suggestion_tile_with_button.xml b/res/layout/suggestion_tile_with_button.xml index 8fb8e84022e..7b9ddf92989 100644 --- a/res/layout/suggestion_tile_with_button.xml +++ b/res/layout/suggestion_tile_with_button.xml @@ -18,8 +18,10 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/suggestion_card" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" app:cardPreventCornerOverlap="false" app:cardUseCompatPadding="true" app:cardElevation="2dp" @@ -27,8 +29,7 @@ + android:layout_marginBottom="6dp" />