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

    <PreferenceCategory
        app:title="@string/pref_category_settings">
        <ListPreference
            app:key="pref_theme"
            app:icon="@drawable/ic_baseline_palette_24"
            app:title="@string/theme_pref"
            app:defaultValue="system"
            app:entries="@array/theme_values_names"
            app:entryValues="@array/theme_values" />

        <SwitchPreferenceCompat
            app:defaultValue="false"
            app:key="pref_showcase_mode"
            app:icon="@drawable/ic_baseline_monitor_24"
            app:title="@string/showcase_mode_pref"
            app:summary="@string/showcase_mode_desc"/>

        <SwitchPreferenceCompat
            app:defaultValue="false"
            app:key="pref_show_incompatible"
            app:icon="@drawable/ic_baseline_hide_source_24"
            app:title="@string/show_incompatible_pref"
            app:summary="@string/show_incompatible_desc"/>
    </PreferenceCategory>

    <PreferenceCategory
        app:title="@string/pref_category_repos">
        <Preference
            app:key="pref_repo_main"
            app:icon="@drawable/ic_baseline_extension_24"
            app:summary="@string/repo_main_desc"
            app:title="@string/loading" />
        <Preference
            app:key="pref_repo_alt"
            app:icon="@drawable/ic_baseline_extension_24"
            app:summary="@string/repo_main_alt"
            app:title="@string/loading" />
    </PreferenceCategory>
    <PreferenceCategory
        app:title="@string/pref_category_info">
        <Preference
            app:key="pref_source_code"
            app:icon="@drawable/ic_github"
            app:title="@string/source_code" />
        <Preference
            app:key="pref_show_licenses"
            app:icon="@drawable/ic_baseline_info_24"
            app:title="@string/show_licenses" />
    </PreferenceCategory>
</PreferenceScreen>