<?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">
    <im.angry.openeuicc.ui.preference.LongSummaryPreferenceCategory
        app:title="@string/pref_notifications"
        app:summary="@string/pref_notifications_desc"
        app:iconSpaceReserved="false">
        <CheckBoxPreference
            app:iconSpaceReserved="false"
            app:title="@string/pref_notifications_download"
            app:summary="@string/pref_notifications_download_desc"
            app:key="pref_notifications_download" />
        <CheckBoxPreference
            app:iconSpaceReserved="false"
            app:title="@string/pref_notifications_delete"
            app:summary="@string/pref_notifications_delete_desc"
            app:key="pref_notifications_delete" />
        <CheckBoxPreference
            app:iconSpaceReserved="false"
            app:title="@string/pref_notifications_switch"
            app:summary="@string/pref_notifications_switch_desc"
            app:key="pref_notifications_switch" />
    </im.angry.openeuicc.ui.preference.LongSummaryPreferenceCategory>

    <PreferenceCategory
        app:title="@string/pref_advanced"
        app:iconSpaceReserved="false">
        <CheckBoxPreference
            app:key="pref_advanced_disable_safeguard_removable_esim"
            app:iconSpaceReserved="false"
            app:title="@string/pref_advanced_disable_safeguard_removable_esim"
            app:summary="@string/pref_advanced_disable_safeguard_removable_esim_desc" />

        <CheckBoxPreference
            app:key="pref_advanced_verbose_logging"
            app:iconSpaceReserved="false"
            app:title="@string/pref_advanced_verbose_logging"
            app:summary="@string/pref_advanced_verbose_logging_desc" />

        <Preference
            app:iconSpaceReserved="false"
            app:isPreferenceVisible="false"
            app:key="pref_advanced_language"
            app:summary="@string/pref_advanced_language_desc"
            app:title="@string/pref_advanced_language" />

        <Preference
            app:key="pref_advanced_logs"
            app:iconSpaceReserved="false"
            app:title="@string/pref_advanced_logs"
            app:summary="@string/pref_advanced_logs_desc" />

    </PreferenceCategory>

    <PreferenceCategory
        app:key="pref_developer"
        app:title="@string/pref_developer"
        app:iconSpaceReserved="false">

        <CheckBoxPreference
            app:iconSpaceReserved="false"
            app:key="pref_developer_unfiltered_profile_list"
            app:summary="@string/pref_developer_unfiltered_profile_list_desc"
            app:title="@string/pref_developer_unfiltered_profile_list" />

        <CheckBoxPreference
            app:iconSpaceReserved="false"
            app:key="pref_developer_ignore_tls_certificate"
            app:summary="@string/pref_developer_ignore_tls_certificate_desc"
            app:title="@string/pref_developer_ignore_tls_certificate" />

    </PreferenceCategory>

    <PreferenceCategory
        app:key="pref_info"
        app:title="@string/pref_info"
        app:iconSpaceReserved="false">
        <Preference
            app:iconSpaceReserved="false"
            app:title="@string/pref_info_app_version"
            app:key="pref_info_app_version" />

        <Preference
            app:iconSpaceReserved="false"
            app:title="@string/pref_info_source_code"
            app:summary="@string/pref_info_source_code_url"
            app:key="pref_info_source_code">
            <intent
                android:action="android.intent.action.VIEW"
                android:data="@string/pref_info_source_code_url" />
        </Preference>
    </PreferenceCategory>
</PreferenceScreen>