<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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="wrap_content"
    android:orientation="vertical">

    <androidx.appcompat.widget.LinearLayoutCompat
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="@dimen/fab_margin">

        <com.google.android.material.button.MaterialButton
            android:id="@+id/mark_all_as_read"
            style="@style/Widget.Material3.Button.OutlinedButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/mark_all_as_read"
            android:textAlignment="textStart"
            app:icon="@drawable/ic_compose_sensitive"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />


        <androidx.appcompat.widget.SwitchCompat
            android:id="@+id/display_all_categories"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:text="@string/display_all_categories" />

        <com.google.android.material.button.MaterialButtonToggleGroup
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="6dp"
            app:layout_constraintTop_toBottomOf="@id/mark_all_as_read">

        </com.google.android.material.button.MaterialButtonToggleGroup>

        <com.google.android.material.textview.MaterialTextView
            style="@style/TextAppearance.Material3.BodyMedium"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="12dp"
            android:text="@string/types_of_notifications_to_display" />

        <com.google.android.material.button.MaterialButtonToggleGroup
            android:id="@+id/display_types_group"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="6dp"
            android:orientation="vertical"
            app:layout_constraintTop_toBottomOf="@id/mark_all_as_read">

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_mentions"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_mentions"
                app:icon="@drawable/ic_baseline_message_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_favourites"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_favourites"
                app:icon="@drawable/ic_baseline_star_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_reblogs"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_reblogs"
                app:icon="@drawable/ic_baseline_repeat_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_poll_results"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_poll_results"
                app:icon="@drawable/ic_baseline_poll_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_updates_from_people"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_updates_from_people"
                app:icon="@drawable/ic_baseline_home_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_follows"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_follows"
                app:icon="@drawable/ic_baseline_person_add_alt_1_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_updates"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/notif_display_updates"
                app:icon="@drawable/ic_baseline_edit_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_signups"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/sign_ups"
                app:icon="@drawable/ic_baseline_person_add_alt_1_24" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/display_reports"
                style="@style/Widget.Material3.Button.OutlinedButton.Icon"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/reports"
                app:icon="@drawable/ic_baseline_report_24" />
        </com.google.android.material.button.MaterialButtonToggleGroup>


        <androidx.appcompat.widget.AppCompatTextView
            style="@style/TextAppearance.Material3.TitleMedium"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="12dp"
            android:minHeight="0dp"
            android:text="@string/more_actions"
            android:textAllCaps="false"
            android:textColor="?colorError"
            android:background="@drawable/red_border" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/clear_all_notif"
            style="@style/Widget.Material3.Button.OutlinedButton"
            android:layout_width="wrap_content"
            android:layout_marginTop="10dp"
            android:layout_height="wrap_content"
            android:text="@string/clear_all_notif"
            android:textColor="?colorError"
            app:icon="@drawable/ic_baseline_delete_24"
            app:iconTint="?colorError"
            app:rippleColor="?colorError"
            app:strokeColor="?colorError" />

    </androidx.appcompat.widget.LinearLayoutCompat>

</ScrollView>
