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

    <Preference
        android:summary="@string/customize_drawer_summary"
        android:title="@string/customize_drawer">
        <intent
            android:targetClass="org.tasks.activities.NavigationDrawerCustomization"
            android:targetPackage="@string/app_package" />
    </Preference>

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

        <SwitchPreferenceCompat
          android:defaultValue="true"
          android:key="@string/p_filters_enabled"
          android:title="@string/enabled" />

        <SwitchPreferenceCompat
          android:defaultValue="true"
          android:dependency="@string/p_filters_enabled"
          android:key="@string/p_show_today_filter"
          android:title="@string/today" />

        <SwitchPreferenceCompat
          android:defaultValue="true"
          android:dependency="@string/p_filters_enabled"
          android:key="@string/p_show_recently_modified_filter"
          android:title="@string/BFE_Recent" />

    </PreferenceCategory>

    <PreferenceCategory android:title="@string/tags">
        <SwitchPreferenceCompat
          android:defaultValue="true"
          android:key="@string/p_tags_enabled"
          android:title="@string/enabled" />

        <SwitchPreferenceCompat
          android:defaultValue="false"
          android:dependency="@string/p_tags_enabled"
          android:key="@string/p_tags_hide_unused"
          android:title="@string/hide_unused_tags" />

    </PreferenceCategory>

    <PreferenceCategory android:title="@string/places">
        <SwitchPreferenceCompat
          android:defaultValue="true"
          android:key="@string/p_places_enabled"
          android:title="@string/enabled" />

        <SwitchPreferenceCompat
          android:defaultValue="false"
          android:dependency="@string/p_places_enabled"
          android:key="@string/p_places_hide_unused"
          android:title="@string/hide_unused_places" />

    </PreferenceCategory>

    <PreferenceCategory android:title="@string/local_lists">
        <SwitchPreferenceCompat
          android:defaultValue="true"
          android:key="@string/p_lists_enabled"
          android:title="@string/enabled" />
    </PreferenceCategory>

</PreferenceScreen>