<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:paddingTop="16dp"
    android:paddingBottom="16dp"
    android:orientation="vertical">

    <com.google.android.material.textfield.TextInputLayout
        android:id="@+id/category_text_layout"
        style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        android:hint="@string/title"
        app:boxStrokeColor="@color/text_box_stroke_selector"
        app:endIconMode="clear_text"
        app:hintEnabled="false"
        app:hintTextColor="?attr/colorSecondary">

        <eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText
            android:id="@+id/title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="@string/category"
            android:inputType="textCapSentences" />

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

    <eu.kanade.tachiyomi.widget.TriStateCheckBox
        android:id="@+id/download_new"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="12dp"
        android:layout_marginEnd="12dp"
        android:text="@string/download_new_chapters" />

    <eu.kanade.tachiyomi.widget.TriStateCheckBox
        android:id="@+id/include_global"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="12dp"
        android:layout_marginEnd="12dp"
        android:text="@string/include_in_global_update" />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/edit_categories"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="@style/Theme.Widget.Button.TextButton"
        android:text="@string/edit_categories"/>
</LinearLayout>