<?xml version="1.0" encoding="utf-8"?>
<!--typography, buttons 05.04-->
<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="wrap_content"
    android:layout_gravity="bottom"
    android:clickable="true"
    android:focusable="true"
    android:transitionName="checkoutTransition"
    tools:context="com.anytypeio.anytype.ui.sets.modals.filter.CreateFilterFromInputFieldValueFragment">

    <View
        android:id="@+id/dragger"
        android:layout_width="@dimen/default_dragger_width"
        android:layout_height="@dimen/default_dragger_height"
        android:layout_marginTop="6dp"
        android:background="@drawable/dragger"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <ImageView
        android:id="@+id/ivRelationIcon"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_marginStart="20dp"
        android:layout_marginTop="14dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/dragger"
        tools:src="@drawable/ic_relation_name_48" />

    <TextView
        android:id="@+id/tvRelationName"
        style="@style/TextView.ContentStyle.PreviewTitles.2.Medium"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="12dp"
        android:layout_marginTop="16dp"
        app:layout_constraintStart_toEndOf="@+id/ivRelationIcon"
        app:layout_constraintTop_toBottomOf="@+id/dragger"
        tools:text="Tag" />

    <EditText
        android:id="@+id/enterTextValueInputField"
        style="@style/TextView.UXStyle.Body"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="20dp"
        android:layout_marginTop="32dp"
        android:layout_marginEnd="20dp"
        android:background="@null"
        android:hint="@string/value"
        android:imeOptions="actionDone"
        android:maxLines="1"
        android:singleLine="true"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/ivRelationIcon" />

    <View
        android:id="@+id/divider"
        android:layout_width="0dp"
        android:layout_height="0.5dp"
        android:layout_marginStart="20dp"
        android:layout_marginTop="12dp"
        android:layout_marginEnd="20dp"
        android:background="@drawable/divider_relations"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/enterTextValueInputField" />

    <TextView
        android:id="@+id/tvFilterCondition"
        style="@style/TextView.ContentStyle.Relations.1"
        android:textColor="@color/text_secondary"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:paddingStart="@dimen/dp_12"
        android:paddingEnd="@dimen/dp_12"
        android:paddingBottom="@dimen/dp_12"
        android:text="--"
        app:drawableEndCompat="@drawable/ic_list_arrow"
        app:layout_constraintStart_toEndOf="@+id/ivRelationIcon"
        app:layout_constraintTop_toBottomOf="@+id/tvRelationName"
        tools:text="Is" />

    <com.anytypeio.anytype.core_ui.views.ButtonPrimaryLarge
        android:id="@+id/btnBottomAction"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="20dp"
        android:layout_marginTop="20dp"
        android:layout_marginEnd="20dp"
        android:layout_marginBottom="10dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/divider"
        tools:text="Apply" />

</androidx.constraintlayout.widget.ConstraintLayout>