From 7727b086eafde74a14fd68999907b382b04889a7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 2 Dec 2019 16:22:07 +0800 Subject: [PATCH] up --- app/src/main/res/layout/item_bookshelf_grid.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/item_bookshelf_grid.xml b/app/src/main/res/layout/item_bookshelf_grid.xml index dfd0b8756..c150e0b1c 100644 --- a/app/src/main/res/layout/item_bookshelf_grid.xml +++ b/app/src/main/res/layout/item_bookshelf_grid.xml @@ -5,6 +5,7 @@ android:id="@+id/cv_content" android:layout_width="match_parent" android:layout_height="wrap_content" + android:padding="8dp" android:clickable="true" android:focusable="true" tools:ignore="UnusedAttribute"> @@ -13,12 +14,11 @@ android:id="@+id/iv_cover" android:layout_width="100dp" android:layout_height="150dp" - android:layout_margin="8dp" android:contentDescription="@string/img_cover" android:scaleType="centerCrop" android:src="@drawable/image_cover_default" android:transitionName="img_cover" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toBottomOf="@id/tv_name" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent"