<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="68dp">

    <TextView
        android:id="@+id/tvObjectName"
        style="@style/TextView.ContentStyle.PreviewTitles.2.Medium"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="12dp"
        android:layout_marginTop="13dp"
        android:layout_marginEnd="12dp"
        android:ellipsize="end"
        android:gravity="start|center_vertical"
        android:maxLines="1"
        app:layout_constraintEnd_toStartOf="@+id/ivSelectObjectIcon"
        app:layout_constraintStart_toEndOf="@+id/objectIconWidget"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="Matt Damon" />

    <ImageView
        android:id="@+id/ivSelectObjectIcon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="20dp"
        android:src="@drawable/ic_tag_selected_selector"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <com.anytypeio.anytype.core_ui.widgets.ObjectIconWidget
        android:id="@+id/objectIconWidget"
        android:layout_width="48dp"
        android:layout_height="48dp"
        app:emojiSize="28dp"
        app:imageSize="@dimen/dp_48"
        app:initialTextSize="28sp"
        app:imageCornerRadius="@dimen/list_item_object_image_corner_radius"
        app:checkboxSize="24dp"
        app:hasEmojiRounded12Background="true"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:id="@+id/tvObjectType"
        style="@style/TextView.ContentStyle.Relations.2"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="12dp"
        android:layout_marginEnd="12dp"
        android:ellipsize="end"
        android:gravity="start|center_vertical"
        android:maxLines="1"
        android:hint="@string/unknown_object_type"
        android:textColor="@color/text_secondary"
        app:layout_constraintEnd_toStartOf="@+id/ivSelectObjectIcon"
        app:layout_constraintStart_toEndOf="@+id/objectIconWidget"
        app:layout_constraintTop_toBottomOf="@+id/tvObjectName"
        tools:text="Actor" />

</androidx.constraintlayout.widget.ConstraintLayout>