<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_margin="10dp"
    android:layout_gravity="center"
    xmlns:app="http://schemas.android.com/apk/res-auto">


    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/iv_book"
        android:layout_width="90dp"
        android:layout_height="130dp"
        android:src="@drawable/ic_book_add"
        android:scaleType="fitXY"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"/>

    <androidx.appcompat.widget.AppCompatTextView
        android:id="@+id/tv_book_name"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        tools:text="斗破苍穹斗破苍穹"
        android:maxLines="2"
        android:ellipsize="end"
        app:layout_constraintLeft_toLeftOf="@+id/iv_book"
        app:layout_constraintRight_toRightOf="@+id/iv_book"
        app:layout_constraintTop_toBottomOf="@+id/iv_book"
        app:layout_constraintHorizontal_bias="0"
        android:layout_marginTop="5dp"
        android:textColor="@color/colorTitle" />

    <androidx.appcompat.widget.AppCompatTextView
        android:id="@+id/tv_book_author"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        tools:text="作者"
        android:maxLines="1"
        android:ellipsize="end"
        app:layout_constraintLeft_toLeftOf="@+id/iv_book"
        app:layout_constraintRight_toRightOf="@+id/iv_book"
        app:layout_constraintTop_toBottomOf="@+id/tv_book_name"
        app:layout_constraintHorizontal_bias="0"
        android:textColor="@color/colorSubTitle"
        />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/iv_check"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/select_book_check"
        app:layout_constraintRight_toRightOf="@+id/iv_book"
        app:layout_constraintTop_toTopOf="@+id/iv_book"
        android:layout_margin="5dp"
        android:visibility="gone"/>

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/iv_geng"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/ic_geng"
        app:layout_constraintLeft_toLeftOf="@+id/iv_book"
        app:layout_constraintBottom_toBottomOf="@+id/iv_book"
        android:layout_margin="5dp"
        android:visibility="gone"/>

</androidx.constraintlayout.widget.ConstraintLayout>