<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="68dp"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools">

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

    <TextView
        android:id="@+id/tvTitle"
        style="@style/TextView.ContentStyle.PreviewTitles.2.Medium"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="12dp"
        android:layout_marginEnd="12dp"
        android:ellipsize="end"
        android:hint="@string/untitled"
        android:maxLines="1"
        android:singleLine="true"
        android:textColorHint="@color/text_tertiary"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/objectSelectionIndex"
        app:layout_constraintStart_toEndOf="@+id/iconWidget"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_chainStyle="packed"
        app:layout_goneMarginEnd="0dp"
        tools:text="Charlie Chaplin" />

    <View
        android:id="@+id/objectSelectionIndex"
        android:background="@drawable/ic_tag_selected_selector"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_marginEnd="22dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>