From 425e8a49c44a150cc05c1de31f43642d6a77f08b Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Sat, 1 Jul 2023 22:54:45 +0300 Subject: [PATCH] Adjust two-line items to M3 guidelines --- app/src/main/res/layout/item_feed.xml | 20 ++++++++++++-------- app/src/main/res/layout/item_manga_list.xml | 18 +++++++++++------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/app/src/main/res/layout/item_feed.xml b/app/src/main/res/layout/item_feed.xml index 14c3be57d..dabc72ae8 100644 --- a/app/src/main/res/layout/item_feed.xml +++ b/app/src/main/res/layout/item_feed.xml @@ -4,15 +4,17 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="72dp" android:background="@drawable/list_selector" - android:clipChildren="false" - android:padding="@dimen/list_spacing"> + android:clipChildren="false"> + tools:text="@tools:sample/lorem/random" /> diff --git a/app/src/main/res/layout/item_manga_list.xml b/app/src/main/res/layout/item_manga_list.xml index 14309a582..81bb24814 100644 --- a/app/src/main/res/layout/item_manga_list.xml +++ b/app/src/main/res/layout/item_manga_list.xml @@ -4,15 +4,17 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="72dp" android:background="@drawable/list_selector" - android:clipChildren="false" - android:padding="@dimen/list_spacing"> + android:clipChildren="false">