<?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_appearance_title">

    <ListPreference
        android:defaultValue="@string/default_theme_value"
        android:entries="@array/theme_description_list"
        android:entryValues="@array/theme_values_list"
        android:key="@string/theme_key"
        android:summary="%s"
        android:title="@string/theme_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <ListPreference
        android:defaultValue="@string/default_night_theme_value"
        android:entries="@array/night_theme_description_list"
        android:entryValues="@array/night_theme_values_list"
        android:key="@string/night_theme_key"
        android:summary="@string/night_theme_summary"
        android:title="@string/night_theme_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <SwitchPreferenceCompat
        android:defaultValue="false"
        android:key="@string/enable_eye_protection_key"
        android:summary="@string/enable_eye_protection_summary"
        android:title="@string/enable_eye_protection_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <PreferenceScreen
        android:key="@string/player_notification_screen_key"
        android:fragment="org.schabi.newpipe.settings.PlayerNotificationSettingsFragment"
        android:summary="@string/settings_category_player_notification_summary"
        android:title="@string/settings_category_player_notification_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <SwitchPreference
            android:key="feed_groups_grid_layout"
            android:title="@string/feed_groups_grid_layout_title"
            android:summary="@string/feed_groups_grid_layout_summary"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false"
            android:defaultValue="false" />

    <ListPreference
        android:defaultValue="@string/tablet_mode_auto_key"
        android:entries="@array/tablet_mode_description"
        android:entryValues="@array/tablet_mode_values"
        android:key="@string/tablet_mode_key"
        android:summary="%s"
        android:title="@string/tablet_mode_title"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

    <ListPreference
        android:defaultValue="@string/list_view_mode_value"
        android:entries="@array/list_view_mode_description"
        android:entryValues="@array/list_view_mode_values"
        android:key="@string/list_view_mode_key"
        android:summary="%s"
        android:title="@string/list_view_mode"
        app:singleLineTitle="false"
        app:iconSpaceReserved="false" />

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

    <SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="@string/auto_ellipsize_key"
            android:summary="@string/auto_ellipsize_summary"
            android:title="@string/auto_ellipsize_title"
            app:singleLineTitle="false"
            app:iconSpaceReserved="false" />

</PreferenceScreen>
