<androidx.cardview.widget.CardView 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:layout_margin="8dp"
    android:background="@drawable/card_outline"
    app:cardCornerRadius="12dp">

    <com.google.android.material.appbar.AppBarLayout
        android:id="@+id/listAppBar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?attr/colorSurfaceVariant">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="65dp"
            android:gravity="center"
            android:orientation="horizontal">

            <TextView
                android:id="@+id/itemChapterNumber"
                android:layout_width="0dp"
                android:layout_height="48dp"
                android:layout_marginStart="10dp"
                android:layout_weight="1"
                android:ellipsize="end"
                android:fontFamily="@font/poppins_bold"
                android:gravity="center|start"
                android:singleLine="true"
                android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
                android:textColor="?attr/colorOnBackground"
                android:textSize="16sp"
                tools:text="Chapter: 1" />

            <ImageButton
                android:id="@+id/itemEpisodeViewed"
                android:layout_width="24dp"
                android:layout_height="48dp"
                android:layout_marginEnd="5dp"
                android:background="?android:attr/selectableItemBackground"
                app:srcCompat="@drawable/ic_round_remove_red_eye_24"
                app:tint="?attr/colorOnBackground"
                tools:ignore="ContentDescription" />

            <ImageButton
                android:id="@+id/itemDownload"
                android:layout_width="24dp"
                android:layout_height="48dp"
                android:layout_marginEnd="5dp"
                android:background="@android:color/transparent"
                app:srcCompat="@drawable/ic_download_24"
                app:tint="?attr/colorOnBackground"
                tools:ignore="ContentDescription" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/itemChapterDateLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginStart="10dp"
            android:layout_marginTop="-20dp"
            android:layout_marginEnd="100dp"
            android:layout_marginBottom="10dp"
            android:orientation="horizontal"
            android:visibility="gone"
            tools:visibility="visible">

            <TextView
                android:id="@+id/itemChapterDate"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginEnd="3dp"
                android:alpha="0.6"
                android:ellipsize="end"
                android:fontFamily="@font/poppins_bold"
                android:maxLines="1"
                android:textSize="12dp"
                tools:ignore="SpUsage"
                tools:text="Aug/12/1969"
                tools:visibility="visible" />

            <TextView
                android:id="@+id/itemChapterDateDivider"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginEnd="3dp"
                android:alpha="0.6"
                android:fontFamily="@font/poppins_bold"
                android:text="•"
                android:textSize="16sp"
                tools:ignore="HardcodedText,RtlSymmetry" />

            <TextView
                android:id="@+id/itemChapterScan"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:alpha="0.6"
                android:ellipsize="end"
                android:fontFamily="@font/poppins_bold"
                android:maxLines="1"
                android:textSize="12dp"
                tools:ignore="SpUsage"
                tools:text="Manga"
                tools:visibility="visible" />
        </LinearLayout>

        <TextView
            android:id="@+id/itemChapterTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:layout_marginTop="-10dp"
            android:layout_marginBottom="10dp"
            android:alpha="0.66"
            android:ellipsize="end"
            android:fontFamily="@font/poppins_bold"
            android:maxLines="1"
            android:textSize="14dp"
            android:visibility="gone"
            tools:ignore="SpUsage" />
    </com.google.android.material.appbar.AppBarLayout>

    <View
        android:id="@+id/itemEpisodeViewedCover"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:alpha="0.33"
        android:background="?android:colorBackground"
        android:visibility="gone" />

</androidx.cardview.widget.CardView>
