<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <PreferenceScreen
        android:icon="@drawable/ic_volume_up"
        android:key="pref_screen_sound_and_vibration"
        android:persistent="false"
        android:title="@string/pref_header_sound_vibration">

        <SeekBarPreference
            android:defaultValue="50"
            android:icon="@drawable/ic_volume_up"
            android:key="volume"
            android:max="100"
            android:title="@string/menuitem_volume" />

        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_rotate_left"
            android:key="crown_vibration"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_crown_vibration" />

        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_warning_gray"
            android:key="alert_tone"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_alert_tone" />

        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_volume_off"
            android:key="cover_to_mute"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_cover_to_mute" />

        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_vibration"
            android:key="vibrate_for_alert"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_vibrate_for_alert" />

        <ListPreference
            android:defaultValue="normal"
            android:entries="@array/vibration_intensity"
            android:entryValues="@array/vibration_intensity_values"
            android:key="vibration_intensity"
            app:useSimpleSummaryProvider="true"
            android:title="@string/pref_vibration_intensity" />

        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_voice"
            android:key="text_to_speech"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_text_to_speech" />
    </PreferenceScreen>
</androidx.preference.PreferenceScreen>
