<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:app="http://schemas.android.com/apk/res-auto"
                  android:key="general_preferences"
                  android:title="@string/settings_category_player_behavior_title">
    <ListPreference
            android:defaultValue="@string/preferred_open_action_default"
            android:entries="@array/preferred_open_action_description_list"
            android:entryValues="@array/preferred_open_action_values_list"
            android:key="@string/preferred_open_action_key"
            android:summary="@string/preferred_open_action_settings_summary"
            android:title="@string/preferred_open_action_settings_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/use_external_audio_player_key"
            android:title="@string/use_external_audio_player_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <ListPreference
            android:defaultValue="@string/minimize_on_exit_value"
            android:entries="@array/minimize_on_exit_action_description"
            android:entryValues="@array/minimize_on_exit_action_key"
            android:key="@string/minimize_on_exit_key"
            android:summary="@string/minimize_on_exit_summary"
            android:title="@string/minimize_on_exit_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />
    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/start_main_player_fullscreen_key"
            android:summary="@string/start_main_player_fullscreen_summary"
            android:title="@string/start_main_player_fullscreen_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />
    <ListPreference
            android:defaultValue="@string/autoplay_value"
            android:entries="@array/autoplay_type_description"
            android:entryValues="@array/autoplay_type_key"
            android:key="@string/autoplay_key"
            android:summary="@string/autoplay_summary"
            android:title="@string/autoplay_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />
    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/auto_queue_key"
            android:summary="@string/auto_queue_summary"
            android:title="@string/auto_queue_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="@string/dont_auto_queue_long_key"
            android:summary="@string/dont_auto_queue_long_description"
            android:title="@string/dont_auto_queue_long_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="@string/auto_queue_partition_key"
            android:summary="@string/auto_queue_partition_summary"
            android:title="@string/auto_queue_partition_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/auto_background_play_key"
            android:title="@string/auto_background_play_title"
            android:summary="@string/auto_background_play_summary"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false"/>

    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:dependency="@string/auto_background_play_key"
            android:key="@string/random_music_play_mode_key"
            android:title="@string/random_play_order_title"
            android:summary="@string/random_play_order_summary"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false"/>
    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/clear_queue_confirmation_key"
            android:summary="@string/clear_queue_confirmation_summary"
            android:title="@string/clear_queue_confirmation_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="@string/exit_app_confirmation_key"
            android:title="@string/exit_app_confirmation_title"
            android:summary="@string/exit_app_confirmation_message"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/comments_inner_scroll_key"
            android:summary="@string/comments_inner_scroll_summary"
            android:title="@string/comments_inner_scroll_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/fetch_full_playlist_key"
            android:summary="@string/fetch_full_playlist_summary"
            android:title="@string/fetch_full_playlist_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:key="@string/pull_to_refresh_key"
            android:title="@string/pull_to_refresh_title"
            android:summary="@string/pull_to_refresh_summary"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false"
            android:defaultValue="true" />

    <ListPreference
            android:defaultValue="delete"
            android:entries="@array/local_playlist_swipe_action_entries"
            android:entryValues="@array/local_playlist_swipe_action_values"
            android:key="@string/local_playlist_swipe_action_key"
            android:summary="%s"
            android:title="@string/local_playlist_swipe_action_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false"
            app:useSimpleSummaryProvider="true" />

</PreferenceScreen>