HapeLee 11 месяцев назад
Родитель
Сommit
faa18251cc

+ 1 - 0
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"

+ 1 - 1
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">

+ 1 - 0
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"

+ 1 - 0
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"