<!--

    Geekttrss is a RSS feed reader application on the Android Platform.

    Copyright (C) 2017-2024 by Frederic-Charles Barthelery.

    This file is part of Geekttrss.

    Geekttrss is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Geekttrss is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.

-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:app="http://schemas.android.com/apk/res-auto">

    <PreferenceCategory
            android:title="@string/pref_category_user_interface">

        <ListPreference
                android:key="theme"
                android:defaultValue="-1"
                android:title="@string/pref_title_theme"
                android:entries="@array/pref_theme_names"
                android:entryValues="@array/pref_theme_values"
                android:negativeButtonText="@null"
                />
        <SwitchPreference
            android:key="articles_compact_list_item"
            android:defaultValue="false"
            android:title="@string/pref_title_articles_compact_list_items"
            android:summary="@string/pref_summary_articles_compact_list_items"
            />

    </PreferenceCategory>

    <PreferenceCategory
        android:title="@string/pref_category_advanced">

        <ListPreference
            android:key="in_app_browser_engine"
            android:defaultValue="-1"
            android:title="@string/pref_title_in_app_browser_engine"
            android:negativeButtonText="@null"
            />
    </PreferenceCategory>

    <PreferenceCategory
            android:title="@string/pref_category_development"
            app:isPreferenceVisible="@bool/dev_show_manage_features">

        <Preference
                android:key="manage_features"
                android:title="@string/pref_title_manage_features"
                android:fragment="com.geekorum.ttrss.settings.manage_features.ManageFeaturesFragment">
        </Preference>
    </PreferenceCategory>

    <PreferenceCategory
            android:title="@string/pref_category_about">

        <Preference
                android:key="about_oss"
                android:title="@string/pref_title_oss_license"
                android:summary="@string/pref_summary_oss_license"
                >
            <intent android:targetClass="com.geekorum.ttrss.settings.licenses.OpenSourceLicensesActivity"
                    android:targetPackage="@string/package_name"
                    />
        </Preference>
        <Preference
                android:key="about_version"
                android:defaultValue="0"
                android:title="@string/pref_title_about_version"
                />
    </PreferenceCategory>

</PreferenceScreen>
