Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7   
      8           http://www.apache.org/licenses/LICENSE-2.0
      9   
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
     18 
     19     <PreferenceCategory android:key="backup_category"
     20             android:title="@string/backup_section_title">
     21         <!-- Backup settings -->
     22         <CheckBoxPreference
     23                 android:key="backup_data"
     24                 android:title="@string/backup_data_title"
     25                 android:summary="@string/backup_data_summary"
     26                 android:persistent="false" />
     27         <CheckBoxPreference
     28                 android:key="auto_restore"
     29                 android:title="@string/auto_restore_title"
     30                 android:summary="@string/auto_restore_summary"
     31                 android:persistent="false" />
     32     </PreferenceCategory>
     33 
     34     <PreferenceCategory
     35             android:title="@string/personal_data_section_title">
     36         <!-- Factory reset -->
     37         <PreferenceScreen
     38                 android:title="@string/master_clear_title"
     39                 android:summary="@string/master_clear_summary">
     40             <intent android:action="android.intent.action.MAIN"
     41                     android:targetPackage="com.android.settings"
     42                     android:targetClass="com.android.settings.MasterClear" />
     43         </PreferenceScreen>
     44     </PreferenceCategory>
     45 
     46 </PreferenceScreen>
     47