<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="86dp"
    android:layout_height="146dp"
    android:layout_marginTop="3dp"
    android:layout_marginBottom="3dp"
    android:layout_marginLeft="3dp"
    android:layout_marginRight="3dp"
    android:background="@drawable/background_menu"
    android:id="@+id/root"
    android:clickable="true">

    <ImageView
        android:id="@+id/image_icon"
        android:layout_height="50dp"
        android:layout_width="50dp"
        android:scaleType="centerCrop"
        app:layout_constraintDimensionRatio="H,1,1"
        app:shapeAppearanceOverlay="@style/roundedCorners_4dp"
        app:srcCompat="@drawable/unknown_music"
        android:background="@drawable/video_thumbnail_outline"
        android:layout_marginTop="12dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent" />

    <!--TODO: Fix word wrapping with autosize-->
    <TextView
        android:id="@+id/text_name"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:textSize="11dp"
        android:textColor="@color/white"
        android:fontFamily="@font/inter_medium"
        tools:text="The Beetles"
        android:maxLines="2"

        android:gravity="center"
        app:layout_constraintLeft_toRightOf="@id/image_icon"
        app:layout_constraintTop_toBottomOf="@id/image_icon"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginTop="0dp"
        />
</androidx.constraintlayout.widget.ConstraintLayout>