<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
    app:title="@string/pref_root_title">

    <PreferenceCategory app:title="@string/pref_general_category">
        <SwitchPreferenceCompat
            app:defaultValue="@bool/pref_vpn_service_on_boot_def"
            app:key="@string/pref_vpn_service_on_boot_key"
            app:title="@string/pref_vpn_service_on_boot" />

        <SwitchPreferenceCompat
            app:defaultValue="@bool/pref_vpn_watchdog_enabled_def"
            app:key="@string/pref_vpn_watchdog_enabled_key"
            app:title="@string/pref_vpn_service_monitor"
            app:summary="@string/pref_vpn_service_monitor_description"/>
    </PreferenceCategory>

    <!-- App bypass-->
    <PreferenceCategory app:title="@string/pref_vpn_excluded_apps">
        <Preference
            app:persistent="false"
            app:selectable="false"
            app:summary="@string/pref_vpn_excluded_apps_description" />

        <ListPreference
            app:defaultValue="@string/pref_vpn_excluded_system_apps_default"
            app:entries="@array/pref_vpn_excluded_system_apps_entries"
            app:entryValues="@array/pref_vpn_excluded_system_apps_values"
            app:key="@string/pref_vpn_excluded_system_apps_key"
            app:title="@string/pref_vpn_exclude_system_apps"
            app:useSimpleSummaryProvider="true" />

        <Preference
            app:defaultValue="@string/pref_vpn_excluded_user_apps_default"
            app:fragment="org.adaway.ui.prefs.PrefsVpnExcludedAppsFragment"
            app:key="@string/pref_vpn_excluded_user_apps_key"
            app:title="@string/pref_vpn_exclude_user_apps" />
    </PreferenceCategory>

    <!-- Custom DNS-->

</PreferenceScreen>
