<?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"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="?attr/colorSurface">

    <TextView
        android:id="@+id/textQuickReply"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="4dp"
        app:layout_constraintBottom_toTopOf="@id/editTextContent"
        app:layout_constraintStart_toStartOf="parent" />

    <TextView
        android:id="@+id/textDefaultTag"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="4dp"
        app:layout_constraintBottom_toTopOf="@id/editTextContent"
        app:layout_constraintEnd_toEndOf="parent" />

    <net.accelf.yuito.VisibilityToggleButton
        android:id="@+id/buttonVisibility"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_marginStart="8dp"
        android:layout_marginEnd="12dp"
        android:layout_marginBottom="12dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent" />

    <EditText
        android:id="@+id/editTextContent"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:autofillHints=""
        android:hint="@string/hint_toot_area"
        android:inputType="textMultiLine"
        android:minHeight="48dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@id/buttonToot"
        app:layout_constraintStart_toEndOf="@id/buttonVisibility" />

    <com.keylesspalace.tusky.components.compose.view.TootButton
        android:id="@+id/buttonToot"
        style="@style/TuskyButton"
        android:layout_width="@dimen/toot_button_width"
        android:layout_height="wrap_content"
        android:layout_marginEnd="4dp"
        android:textSize="?attr/status_text_medium"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>
