<?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="match_parent"
    android:layout_height="68dp"
    android:orientation="vertical"
    android:layout_marginTop="5dp"
    android:layout_marginBottom="5dp"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="10dp"
    android:background="@drawable/background_1b_round_6dp"
    android:id="@+id/root"
    android:clickable="true">

    <LinearLayout
        android:id="@+id/image_thumbnail_container"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="8dp"
        android:layout_marginLeft="8dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintLeft_toLeftOf="parent">

        <ImageView
            android:id="@+id/image_thumbnail"
            android:layout_height="34dp"
            android:layout_width="34dp"
            android:scaleType="centerCrop"
            android:layout_marginLeft="8dp"
            android:layout_marginRight="8dp"
            android:layout_marginTop="8dp"
            android:layout_marginBottom="8dp" />
    </LinearLayout>

    <TextView
        android:id="@+id/text_name"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:textSize="15dp"
        android:textColor="@color/white"
        android:fontFamily="@font/inter_regular"
        tools:text="Legendary grant recipient: Marvin Wißfeld Very Long Title That is Long"
        android:maxLines="2"
        app:layout_constraintLeft_toRightOf="@id/image_thumbnail_container"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintRight_toLeftOf="@id/button_delete"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginStart="12dp"
        android:layout_marginEnd="12dp"/>

    <!--
    <TextView
        android:id="@+id/text_metadata"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:textSize="10dp"
        android:textColor="@color/gray_e0"
        android:fontFamily="@font/inter_extra_light"
        tools:text="3 videos"
        android:maxLines="1"
        app:layout_constraintTop_toBottomOf="@id/text_name"
        app:layout_constraintLeft_toRightOf="@id/image_thumbnail"
        app:layout_constraintRight_toLeftOf="@id/button_delete"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginStart="12dp" />-->


    <ImageButton
        android:id="@+id/button_delete"
        android:layout_width="34dp"
        android:layout_height="34dp"
        app:srcCompat="@drawable/ic_trash"
        android:scaleType="fitCenter"
        android:padding="8dp"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginEnd="10dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>