<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/root_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:descendantFocusability="beforeDescendants"
    android:focusableInTouchMode="true"
    android:orientation="vertical">

  <include layout="@layout/toolbar"/>

  <include
      android:id="@+id/progress_bar"
      layout="@layout/progress_view" />

  <FrameLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent">

    <ScrollView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content">

      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical">

        <com.google.android.material.textfield.TextInputLayout
            android:id="@+id/name_layout"
            style="@style/TagSettingsRow"
            android:hint="@string/display_name">

          <com.google.android.material.textfield.TextInputEditText
              android:id="@+id/name"
              style="@style/TagSettingsEditText"
              android:inputType="textCapSentences|textAutoCorrect" />

        </com.google.android.material.textfield.TextInputLayout>

        <include layout="@layout/list_settings_color"/>

        <include layout="@layout/list_settings_icon"/>

        <androidx.compose.ui.platform.ComposeView
            android:id="@+id/people"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

      </LinearLayout>

    </ScrollView>

    <androidx.compose.ui.platform.ComposeView
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/keyline_first"
        android:layout_gravity="end|bottom"
        android:padding="0dp"
        android:visibility="gone" />

  </FrameLayout>
</LinearLayout>
