pull/51/head
kunfei 5 years ago
parent dc41b23db2
commit 7727b086ea
  1. 4
      app/src/main/res/layout/item_bookshelf_grid.xml

@ -5,6 +5,7 @@
android:id="@+id/cv_content" android:id="@+id/cv_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="8dp"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
tools:ignore="UnusedAttribute"> tools:ignore="UnusedAttribute">
@ -13,12 +14,11 @@
android:id="@+id/iv_cover" android:id="@+id/iv_cover"
android:layout_width="100dp" android:layout_width="100dp"
android:layout_height="150dp" android:layout_height="150dp"
android:layout_margin="8dp"
android:contentDescription="@string/img_cover" android:contentDescription="@string/img_cover"
android:scaleType="centerCrop" android:scaleType="centerCrop"
android:src="@drawable/image_cover_default" android:src="@drawable/image_cover_default"
android:transitionName="img_cover" android:transitionName="img_cover"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="@id/tv_name"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"

Loading…
Cancel
Save