<?xml version="1.0" encoding="utf-8"?>
<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:backgroundTintMode="src_atop"
    android:longClickable="true"
    app:cardBackgroundColor="@color/nav_bg"
    app:cardCornerRadius="16dp">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="-4dp"
            android:clipToPadding="false"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:paddingBottom="4dp">

            <androidx.cardview.widget.CardView
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                app:cardBackgroundColor="#000000"
                app:cardCornerRadius="16dp">

                <ProgressBar
                    style="?android:attr/progressBarStyle"
                    android:layout_width="32dp"
                    android:layout_height="32dp"
                    android:layout_gravity="center"
                    android:indeterminate="true" />

                <ImageView
                    android:id="@+id/itemMediaImage"
                    android:layout_width="108dp"
                    android:layout_height="match_parent"
                    android:layout_gravity="center"
                    android:scaleType="centerCrop"
                    tools:ignore="ContentDescription" />

            </androidx.cardview.widget.CardView>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_margin="8dp"
                android:gravity="center"
                android:minHeight="144dp"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/itemEpisodeTitle"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:ellipsize="marquee"
                    android:fontFamily="@font/poppins_bold"
                    android:maxLines="5"
                    android:text="@string/empty"
                    app:lineHeight="15sp" />

                <TextView
                    android:id="@+id/itemEpisodeFiller"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:ellipsize="marquee"
                    android:fontFamily="@font/poppins_bold"
                    android:text="@string/filler"
                    android:textStyle="italic"
                    app:lineHeight="15sp" />

                <TextView
                    android:id="@+id/itemEpisodeDesc2"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:alpha="0.58"
                    android:ellipsize="end"
                    android:maxLines="3"
                    app:lineHeight="16sp"
                    tools:ignore="TextContrastCheck"
                    tools:text="@tools:sample/lorem/random" />

            </LinearLayout>

        </LinearLayout>

        <TextView
            android:id="@+id/itemEpisodeDesc"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:alpha="0.58"
            android:ellipsize="end"
            android:maxLines="3"
            android:padding="16dp"
            app:lineHeight="16sp"
            tools:ignore="TextContrastCheck"
            tools:text="@tools:sample/lorem/random" />

    </LinearLayout>

</androidx.cardview.widget.CardView>