<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="match_parent"
	android:orientation="vertical"
	android:padding="@dimen/margin_large">

	<com.google.android.material.textfield.TextInputLayout
		android:id="@+id/nameLayout"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		app:errorEnabled="true"
		app:hintEnabled="false">

		<com.google.android.material.textfield.TextInputEditText
			android:id="@+id/name"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:hint="@string/groups_create_group_hint"
			android:importantForAutofill="no"
			android:inputType="text|textCapSentences"
			android:maxLines="1" />

		<requestFocus />

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

	<Button
		android:id="@+id/button"
		style="@style/BriarButton"
		android:enabled="false"
		android:text="@string/groups_create_group_button"
		tools:enabled="true" />

	<ProgressBar
		android:id="@+id/progressBar"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_gravity="center"
		android:indeterminate="true"
		android:visibility="gone"
		tools:visibility="visible" />

</LinearLayout>
