<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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/root"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    tools:context="com.anytypeio.anytype.core_ui.features.editor.holders.other.LinkToObject">

    <com.anytypeio.anytype.core_ui.features.editor.decoration.EditorDecorationContainer
        android:id="@+id/decorationContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingStart="@dimen/default_document_content_padding_start"
        android:paddingEnd="@dimen/default_document_content_padding_start"
        android:background="@drawable/item_block_multi_select_mode_selector"
        tools:background="@drawable/item_block_multi_select_selected">

        <FrameLayout
            android:id="@+id/iconObjectContainer"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:layout_marginTop="1dp"
            android:layout_marginBottom="3dp"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_goneMarginStart="0dp"
            tools:visibility="visible">

            <com.anytypeio.anytype.core_ui.widgets.ObjectIconWidget
                android:id="@+id/objectIconWidget"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                app:checkboxSize="18dp"
                app:emojiSize="20dp"
                app:hasEmojiRounded8Background="false"
                app:hasInitialRounded8Background="true"
                app:imageCornerRadius="@dimen/list_item_object_image_corner_radius_small"
                app:imageSize="20dp"
                app:initialTextSize="13sp"
                tools:background="@drawable/ic_action_background" />

        </FrameLayout>

        <TextView
            android:id="@+id/text"
            style="@style/ObjectLinkBlockTextStyle"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="1dp"
            android:layout_marginBottom="1dp"
            android:ellipsize="end"
            android:maxLines="3"
            app:layout_constraintBottom_toTopOf="@+id/tvDescription"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_goneMarginStart="0dp"
            tools:text="In the early days of the Civil War, rumors of gold in the
            frozen Klondike brought hordes of newcomers to the Pacific Northwest.
            Anxious to compete, Russian prospectors commissioned inventor Leviticus
            Blue to create a great machine that could mine through Alaska’s ice.
            Thus was Dr. Blue’s Incredible Bone-Shaking Drill Engine born." />

        <TextView
            android:id="@+id/tvObjectType"
            style="@style/ObjectLinkBlockRelationsStyle"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="3dp"
            android:layout_marginBottom="1dp"
            android:ellipsize="end"
            android:maxLines="1"
            android:textColor="@color/text_secondary"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/tvDescription"
            tools:text="Set"
            tools:visibility="visible" />

        <TextView
            android:id="@+id/tvDescription"
            style="@style/ObjectLinkBlockRelationsStyle"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="3dp"
            android:layout_marginBottom="1dp"
            android:ellipsize="end"
            android:maxLines="1"
            app:layout_constraintBottom_toTopOf="@+id/tvObjectType"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/text"
            tools:text="@string/default_text_placeholder"
            tools:visibility="visible" />

    </androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>