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

    <Preference
        android:key="odk_preferences"
        android:summary="@string/admin_access_settings"
        android:title="@string/general_preferences" >
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="org.odk.collect.android.preferences.PreferencesActivity"
            android:targetPackage="org.odk.collect.android" >
            <extra
                android:name="adminMode"
                android:value="true" />
        </intent>
    </Preference>

    <org.odk.collect.android.preferences.PasswordDialogPreference
        android:id="@+id/admin_pw"
        android:defaultValue=""
        android:dialogTitle="Change Admin Password"
        android:key="admin_pw"
        android:title="Admin Password" />

    <PreferenceCategory android:title="@string/user_access_main_menu" >
        <CheckBoxPreference
            android:id="@+id/edit_saved"
            android:defaultValue="true"
            android:key="edit_saved"
            android:summary="@string/found_in_main"
            android:title="@string/review_data" />
        <CheckBoxPreference
            android:id="@+id/send_finalized"
            android:defaultValue="true"
            android:key="send_finalized"
            android:summary="@string/found_in_main"
            android:title="@string/send_data" />
        <CheckBoxPreference
            android:id="@+id/get_blank"
            android:defaultValue="true"
            android:key="get_blank"
            android:summary="@string/found_in_main"
            android:title="@string/get_forms" />
        <CheckBoxPreference
            android:id="@+id/delete_saved"
            android:summary="@string/found_in_main"
            android:defaultValue="true"
            android:key="delete_saved"
            android:title="@string/manage_files" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/user_access_preferences" >
        <CheckBoxPreference
            android:id="@+id/change_server"
            android:defaultValue="true"
            android:key="change_server"
            android:summary="@string/found_in_settings"
            android:title="@string/change_server" />
        <CheckBoxPreference
            android:id="@+id/change_protocol_settings"
            android:defaultValue="true"
            android:key="change_protocol_settings"
            android:summary="@string/found_in_settings"
            android:title="@string/change_protocol_settings_default" />
        <CheckBoxPreference
            android:id="@+id/change_username"
            android:defaultValue="true"
            android:key="change_username"
            android:summary="@string/found_in_settings"
            android:title="@string/change_username_default" />
        <CheckBoxPreference
            android:id="@+id/change_password"
            android:defaultValue="true"
            android:key="change_password"
            android:summary="@string/found_in_settings"
            android:title="@string/password" />
        <CheckBoxPreference
            android:id="@+id/change_google_account"
            android:defaultValue="true"
            android:key="change_google_account"
            android:summary="@string/found_in_settings"
            android:title="@string/selected_google_account_text" />
        <CheckBoxPreference
            android:id="@+id/autosend_wifi"
            android:defaultValue="true"
            android:key="autosend_wifi"
            android:summary="@string/found_in_settings"
            android:title="@string/autosend_wifi" />
        <CheckBoxPreference
            android:id="@+id/autosend_network"
            android:defaultValue="true"
            android:key="autosend_network"
            android:summary="@string/found_in_settings"
            android:title="@string/autosend_network" />
        <CheckBoxPreference
            android:id="@+id/navigation"
            android:defaultValue="true"
            android:key="navigation"
            android:summary="@string/found_in_settings"
            android:title="@string/navigation" />
        <CheckBoxPreference
            android:id="@+id/constraint_behavior"
            android:defaultValue="true"
            android:key="constraint_behavior"
            android:summary="@string/found_in_settings"
            android:title="@string/constraint_behavior" />
        <CheckBoxPreference
            android:id="@+id/change_font_size"
            android:defaultValue="true"
            android:key="change_font_size"
            android:summary="@string/found_in_settings"
            android:title="@string/font_size" />
        <CheckBoxPreference
            android:id="@+id/default_to_finalized"
            android:defaultValue="true"
            android:key="default_to_finalized"
            android:summary="@string/found_in_settings"
            android:title="@string/default_completed" />
        <CheckBoxPreference
            android:id="@+id/admin_delete_after_send"
            android:defaultValue="true"
            android:key="delete_after_send"
            android:summary="@string/found_in_settings"
            android:title="@string/delete_after_send" />
        <CheckBoxPreference
            android:id="@+id/high_resolution"
            android:defaultValue="true"
            android:key="high_resolution"
            android:summary="@string/found_in_settings"
            android:title="@string/high_resolution" />
        <CheckBoxPreference
            android:id="@+id/show_splash_screen"
            android:defaultValue="true"
            android:key="show_splash_screen"
            android:summary="@string/found_in_settings"
            android:title="@string/show_splash" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/user_access_form_entry" >
        <CheckBoxPreference
            android:id="@+id/access_settings"
            android:defaultValue="true"
            android:key="access_settings"
            android:summary="@string/found_in_menu"
            android:title="@string/general_preferences" />
        <CheckBoxPreference
            android:id="@+id/change_language"
            android:defaultValue="true"
            android:key="change_language"
            android:summary="@string/found_in_menu"
            android:title="@string/change_language" />
        <CheckBoxPreference
            android:id="@+id/jump_to"
            android:defaultValue="true"
            android:key="jump_to"
            android:summary="@string/found_in_menu"
            android:title="@string/view_hierarchy" />
        <CheckBoxPreference
            android:id="@+id/save_mid"
            android:defaultValue="true"
            android:key="save_mid"
            android:summary="@string/found_in_menu"
            android:title="@string/save_mid" />
        <CheckBoxPreference
            android:id="@+id/save_as"
            android:defaultValue="true"
            android:key="save_as"
            android:summary="@string/found_at_end"
            android:title="@string/save_form_as" />
        <CheckBoxPreference
            android:id="@+id/mark_as_finalized"
            android:defaultValue="true"
            android:key="mark_as_finalized"
            android:summary="@string/found_at_end"
            android:title="@string/mark_finished" />
    </PreferenceCategory>

</PreferenceScreen>