<?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"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:padding="24dp"
    android:background="@drawable/dialog_background">

    <TextView
        android:id="@+id/dialogTitleSettings"
        style="@style/SectionTitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/settings_title"
        android:gravity="center"
        android:layout_marginBottom="16dp"/>

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

        <com.google.android.material.switchmaterial.SwitchMaterial
            android:id="@+id/switchSound"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/settings_sound_label"
            android:textSize="16sp"
            android:fontFamily="@font/nunito_family"
            android:textColor="@color/text_tile_low"
            android:enabled="true" /> <com.google.android.material.switchmaterial.SwitchMaterial
        android:id="@+id/switchNotifications"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"
        android:text="@string/settings_notifications_label"
        android:textSize="16sp"
        android:fontFamily="@font/nunito_family"
        android:textColor="@color/text_tile_low"
        android:enabled="true" /> </LinearLayout>

    <Button
        android:id="@+id/buttonManagePermissions"
        style="@style/ButtonStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="0dp" android:layout_marginEnd="0dp"
        android:layout_marginTop="4dp" android:layout_marginBottom="4dp"
        android:text="@string/settings_permissions_button" />

    <Button
        android:id="@+id/buttonShareStats"
        style="@style/ButtonStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="0dp" android:layout_marginEnd="0dp"
        android:layout_marginTop="4dp" android:layout_marginBottom="4dp"
        android:text="@string/settings_share_stats_button" />

    <Button
        android:id="@+id/buttonResetStats"
        style="@style/ButtonStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="0dp" android:layout_marginEnd="0dp"
        android:layout_marginTop="4dp" android:layout_marginBottom="4dp"
        android:backgroundTint="@android:color/holo_red_dark" android:text="@string/settings_reset_stats_button" />

    <Button
        android:id="@+id/buttonQuitApp"
        style="@style/ButtonStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="0dp" android:layout_marginEnd="0dp"
        android:layout_marginTop="4dp" android:layout_marginBottom="16dp"
        android:text="@string/settings_quit_app_button" />

    <Button
        android:id="@+id/buttonCloseSettings"
        style="@style/ButtonStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="0dp" android:layout_marginEnd="0dp"
        android:layout_marginTop="8dp" android:layout_marginBottom="0dp"
        android:text="@string/settings_close_button" />

</LinearLayout>