<?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:title="@string/settings_category_player_title">

    <ListPreference
        android:defaultValue="@string/default_resolution_value"
        android:entries="@array/resolution_list_description"
        android:entryValues="@array/resolution_list_values"
        android:key="@string/default_resolution_key"
        android:summary="%s"
        android:title="@string/default_resolution_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <ListPreference
        android:defaultValue="@string/default_popup_resolution_value"
        android:entries="@array/resolution_list_description"
        android:entryValues="@array/resolution_list_values"
        android:key="@string/default_popup_resolution_key"
        android:summary="%s"
        android:title="@string/default_popup_resolution_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <MultiSelectListPreference
            android:key="@string/advanced_formats_key"
            android:title="@string/advanced_formats_title"
            android:summary="@string/advanced_formats_summary"
            android:entries="@array/advanced_formats_values"
            android:entryValues="@array/advanced_formats_values"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <ListPreference
        android:defaultValue="@string/limit_mobile_data_usage_value"
        android:entries="@array/limit_data_usage_description_list"
        android:entryValues="@array/limit_data_usage_values_list"
        android:key="@string/limit_mobile_data_usage_key"
        android:summary="%s"
        android:title="@string/limit_mobile_data_usage_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="@string/require_audio_focus_key"
            android:summary="@string/require_audio_focus_summary"
            android:title="@string/require_audio_focus_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
        android:defaultValue="false"
        android:key="@string/resume_on_audio_focus_gain_key"
        android:summary="@string/resume_on_audio_focus_gain_summary"
        android:title="@string/resume_on_audio_focus_gain_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

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

    <SwitchPreferenceCompat
        android:defaultValue="true"
        android:key="@string/popup_remember_size_pos_key"
        android:summary="@string/popup_remember_size_pos_summary"
        android:title="@string/popup_remember_size_pos_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <ListPreference
        android:defaultValue="@string/seek_duration_default_value"
        android:entries="@array/seek_duration_description"
        android:entryValues="@array/seek_duration_value"
        android:key="@string/seek_duration_key"
        android:summary="%s"
        android:title="@string/seek_duration_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <ListPreference
            android:defaultValue="@string/speeding_playback_default_value"
            android:entries="@array/speeding_playback_description"
            android:entryValues="@array/speeding_playback_value"
            android:key="@string/speeding_playback_key"
            android:summary="%s"
            android:title="@string/speeding_playback_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />
    <ListPreference
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:defaultValue="15"
            android:entries="@array/sleep_timer_length_key"
            android:entryValues="@array/sleep_timer_length_value"
            android:key="@string/sleep_timer_length_key"
            android:summary="%s"
            android:title="@string/sleep_timer_length_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

    <PreferenceScreen
            android:fragment="org.schabi.newpipe.settings.GestureSettingsFragment"
            android:title="@string/settings_category_gestures_summary"
            app:iconSpaceReserved="false" />
    <PreferenceScreen
            android:fragment="org.schabi.newpipe.settings.BulletCommentsSettingsFragment"
            android:title="@string/settings_category_bullet_comments_summary"
            app:iconSpaceReserved="false" />
    <Preference
            android:key="@string/caption_settings_key"
            android:summary="@string/caption_setting_description"
            android:title="@string/caption_setting_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />
</PreferenceScreen>
