From faa18251ccf08ed4663a64f734bf4c362e67370f Mon Sep 17 00:00:00 2001 From: HapeLee <1321903405@qq.com> Date: Sat, 29 Nov 2025 13:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=81=E9=9D=A2=E8=83=8C=E6=99=AF=20#392?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/layout/item_bookshelf_grid.xml | 1 + app/src/main/res/layout/item_bookshelf_grid_compact.xml | 2 +- app/src/main/res/layout/item_bookshelf_list.xml | 1 + app/src/main/res/layout/item_bookshelf_list_compact.xml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/item_bookshelf_grid.xml b/app/src/main/res/layout/item_bookshelf_grid.xml index 85a966e5a..fb87e871b 100644 --- a/app/src/main/res/layout/item_bookshelf_grid.xml +++ b/app/src/main/res/layout/item_bookshelf_grid.xml @@ -21,6 +21,7 @@ android:id="@+id/cd_cover" android:layout_width="match_parent" android:layout_height="match_parent" + app:cardBackgroundColor="@android:color/transparent" app:cardCornerRadius="6dp" android:layout_marginHorizontal="8dp" android:layout_marginTop="8dp" diff --git a/app/src/main/res/layout/item_bookshelf_grid_compact.xml b/app/src/main/res/layout/item_bookshelf_grid_compact.xml index f9270fc6d..cdabbc76b 100644 --- a/app/src/main/res/layout/item_bookshelf_grid_compact.xml +++ b/app/src/main/res/layout/item_bookshelf_grid_compact.xml @@ -20,7 +20,7 @@ android:layout_height="wrap_content" android:clickable="true" android:focusable="true" - android:background="?attr/selectableItemBackground" + app:cardBackgroundColor="@android:color/transparent" app:cardCornerRadius="6dp" app:layout_constraintTop_toTopOf="parent" app:strokeWidth="0dp"> diff --git a/app/src/main/res/layout/item_bookshelf_list.xml b/app/src/main/res/layout/item_bookshelf_list.xml index 2f2a4a660..bc20389df 100644 --- a/app/src/main/res/layout/item_bookshelf_list.xml +++ b/app/src/main/res/layout/item_bookshelf_list.xml @@ -19,6 +19,7 @@ android:id="@+id/cd_cover" android:layout_width="wrap_content" android:layout_height="wrap_content" + app:cardBackgroundColor="@android:color/transparent" app:cardCornerRadius="6dp" app:strokeWidth="0dp" android:layout_margin="8dp" diff --git a/app/src/main/res/layout/item_bookshelf_list_compact.xml b/app/src/main/res/layout/item_bookshelf_list_compact.xml index b959b62cc..8582cbca1 100644 --- a/app/src/main/res/layout/item_bookshelf_list_compact.xml +++ b/app/src/main/res/layout/item_bookshelf_list_compact.xml @@ -19,6 +19,7 @@ android:id="@+id/cd_cover" android:layout_width="wrap_content" android:layout_height="wrap_content" + app:cardBackgroundColor="@android:color/transparent" app:cardCornerRadius="6dp" app:strokeWidth="0dp" android:layout_margin="8dp"