<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="horizontal">

    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        card_view:cardBackgroundColor="@android:color/white"
        card_view:cardCornerRadius="4dp"
        card_view:cardElevation="2dp"
        card_view:cardUseCompatPadding="true">

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">

            <com.facebook.drawee.view.SimpleDraweeView
                android:id="@+id/row_episodes_image"
                android:layout_width="130dp"
                android:layout_height="73dp"
                android:scaleType="fitCenter" />

            <ImageView
                android:id="@+id/row_episodes_download"
                android:layout_width="wrap_content"
                android:layout_height="36dp"
                android:layout_alignBottom="@+id/row_episodes_title"
                android:layout_marginTop="8dp"
                android:layout_marginBottom="4dp"
                android:layout_toEndOf="@+id/row_episodes_title"
                card_view:srcCompat="@drawable/ic_download" />

            <ImageView
                android:id="@+id/row_episodes_options"
                android:layout_width="wrap_content"
                android:layout_height="32dp"
                android:layout_alignParentEnd="true"
                android:layout_marginTop="4dp"
                android:layout_marginBottom="4dp"
                card_view:srcCompat="@drawable/ic_more_vert" />

            <TextView
                android:id="@+id/row_episodes_tag"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:autoSizeTextType="uniform"
                android:layout_marginStart="8dp"
                android:layout_marginTop="4dp"
                android:layout_marginEnd="8dp"
                android:layout_marginBottom="4dp"
                android:layout_toStartOf="@id/row_episodes_options"
                android:layout_toEndOf="@id/row_episodes_image"
                android:maxLines="2"
                android:inputType="none"
                android:textColor="@android:color/black"
                android:ellipsize="end"
                android:textStyle="bold" />

            <TextView
                android:id="@+id/row_episodes_title"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:autoSizeTextType="uniform"
                android:layout_alignBottom="@id/row_episodes_image"
                android:layout_marginStart="8dp"
                android:layout_marginTop="4dp"
                android:layout_marginEnd="4dp"
                android:layout_marginBottom="4dp"
                android:layout_toStartOf="@id/row_episodes_options"
                android:layout_toEndOf="@id/row_episodes_image"
                android:maxLines="1"
                android:ellipsize="end"
                android:textStyle="italic" />
        </RelativeLayout>
    </androidx.cardview.widget.CardView>
</LinearLayout>
