1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 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<!-- A set of preferences used to exercise the DevicePolicyManager API. --> 18<!-- This screen is shown for the "Lock / Wipe" header. --> 19<PreferenceScreen 20 xmlns:android="http://schemas.android.com/apk/res/android" > 21 22 <PreferenceCategory 23 android:key="key_category_lock_wipe" 24 android:title="@string/lock_wipe_category" > 25 26 <EditTextPreference 27 android:key="key_max_time_screen_lock" 28 android:title="@string/maximum_lock_time" 29 android:dialogTitle="@string/maximum_lock_time" 30 android:inputType="number" /> 31 <EditTextPreference 32 android:key="key_max_fails_before_wipe" 33 android:title="@string/maximum_password_fails" 34 android:dialogTitle="@string/maximum_password_fails" 35 android:inputType="number" /> 36 <PreferenceScreen 37 android:key="key_lock_screen" 38 android:title="@string/lock_screen" /> 39 <PreferenceScreen 40 android:key="key_wipe_data" 41 android:title="@string/wipe_data" 42 android:summary="@string/wipe_data_summary" /> 43 <PreferenceScreen 44 android:key="key_wipe_data_all" 45 android:title="@string/wipe_all_data" 46 android:summary="@string/wipe_all_data_summary" /> 47 48 </PreferenceCategory> 49 50</PreferenceScreen> 51