From 4f4dc55b4ea1da2d7a6ad09d0f80da0fe28be1ed Mon Sep 17 00:00:00 2001 From: tarsin Date: Tue, 24 May 2022 18:15:33 +0800 Subject: [PATCH] itemcard layout tweaks --- app/src/main/res/layout/item_gallery_list.xml | 7 +++--- app/src/main/res/values/styles.xml | 23 ++----------------- 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/app/src/main/res/layout/item_gallery_list.xml b/app/src/main/res/layout/item_gallery_list.xml index 51224f1dd..c49e74671 100644 --- a/app/src/main/res/layout/item_gallery_list.xml +++ b/app/src/main/res/layout/item_gallery_list.xml @@ -19,8 +19,7 @@ style="@style/Widget.Material3.CardView.Elevated" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_margin="2dp" - android:background="?selectableItemBackground" + android:layout_margin="4dp" android:checkable="true" android:clickable="true" android:focusable="true"> @@ -61,8 +60,8 @@ style="@style/CardMessage" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_below="@id/title" android:layout_alignStart="@id/title" + android:layout_above="@id/rating" android:layout_marginTop="2dp" /> + android:layout_marginBottom="2dp" /> 48dp - - - - - - -