<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:id="@+id/container"
    android:layout_width="122dp"
    android:layout_height="wrap_content"
    android:duplicateParentState="true"
    android:orientation="vertical"
    android:paddingHorizontal="6dp"
    android:paddingVertical="8dp">

    <androidx.cardview.widget.CardView
        android:id="@+id/banner_container"
        android:layout_width="match_parent"
        android:layout_height="110dp"
        android:duplicateParentState="true"
        android:foreground="@drawable/ripple"
        app:cardCornerRadius="?attr/cardRounding">

        <org.jellyfin.androidtv.ui.AsyncImageView
            android:id="@+id/banner"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scaleType="centerCrop"
            tools:src="@drawable/ic_jellyfin" />
    </androidx.cardview.widget.CardView>

    <TextView
        android:id="@+id/label"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:duplicateParentState="true"
        android:ellipsize="marquee"
        android:layerType="hardware"
        android:marqueeRepeatLimit="marquee_forever"
        android:padding="4dp"
        android:singleLine="true"
        tools:text="@string/app_name" />
</LinearLayout>
