<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright © 2013 – 2016 Ricki Hirner (bitfire web engineering).
  ~ All rights reserved. This program and the accompanying materials
  ~ are made available under the terms of the GNU Public License v3.0
  ~ which accompanies this distribution, and is available at
  ~ http://www.gnu.org/licenses/gpl.html
  -->

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

    <PreferenceCategory android:title="@string/app_settings_user_interface">
        <Preference
            android:key="reset_hints"
            android:title="@string/app_settings_reset_hints"
            android:summary="@string/app_settings_reset_hints_summary"/>
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/app_settings_security">
        <Preference
            android:key="reset_certificates"
            android:title="@string/app_settings_reset_trusted_certificates"
            android:summary="@string/app_settings_reset_trusted_certificates_summary"/>
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/app_settings_debug">
        <SwitchPreferenceCompat
            android:key="log_to_external_storage"
            android:title="@string/app_settings_log_to_external_storage"
            android:summaryOn="@string/app_settings_log_to_external_storage_on"
            android:summaryOff="@string/app_settings_log_to_external_storage_off"/>
        <Preference
            android:title="@string/app_settings_show_debug_info"
            android:summary="@string/app_settings_show_debug_info_details">
            <intent
                android:targetPackage="at.bitfire.davdroid"
                android:targetClass="at.bitfire.davdroid.ui.DebugInfoActivity"/>
        </Preference>
    </PreferenceCategory>

</PreferenceScreen>