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

    <TextView
        android:id="@+id/tv_book_name"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:padding="6dp"
        android:textColor="@color/primaryText"
        android:singleLine="true"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintRight_toLeftOf="@+id/tv_remove"
        tools:text="name"
        tools:ignore="RtlHardcoded" />

    <TextView
        android:id="@+id/tv_reading_time_tag"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="6dp"
        android:singleLine="true"
        android:text="@string/reading_time_tag"
        android:textColor="@color/secondaryText"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toBottomOf="@id/tv_book_name" />

    <TextView
        android:id="@+id/tv_reading_time"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:padding="6dp"
        android:singleLine="true"
        android:textColor="@color/secondaryText"
        app:layout_constraintLeft_toRightOf="@+id/tv_reading_time_tag"
        app:layout_constraintTop_toBottomOf="@id/tv_book_name"
        app:layout_constraintRight_toLeftOf="@+id/tv_remove"
        tools:text="readingTime" />

    <TextView
        android:id="@+id/tv_last_read_time_tag"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="6dp"
        android:singleLine="true"
        android:text="@string/last_read_time_tag"
        android:textColor="@color/secondaryText"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toBottomOf="@id/tv_reading_time_tag" />

    <TextView
        android:id="@+id/tv_last_read_time"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:padding="6dp"
        android:singleLine="true"
        android:textColor="@color/secondaryText"
        app:layout_constraintLeft_toRightOf="@+id/tv_last_read_time_tag"
        app:layout_constraintTop_toBottomOf="@id/tv_reading_time_tag"
        app:layout_constraintRight_toLeftOf="@+id/tv_remove"
        tools:text="readingTime" />

    <TextView
        android:id="@+id/tv_remove"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="6dp"
        android:text="@string/clear"
        android:textColor="@color/primaryText"
        android:background="?attr/selectableItemBackground"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>