• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "Password Expiration" header. -->
19<PreferenceScreen
20    xmlns:android="http://schemas.android.com/apk/res/android" >
21
22    <PreferenceCategory
23        android:title="@string/password_controls_category" >
24
25        <PreferenceScreen
26            android:key="key_set_password"
27            android:title="@string/set_password_user" />
28        <EditTextPreference
29            android:key="key_reset_password"
30            android:title="@string/set_password_api"
31            android:dialogTitle="@string/set_password_api_dialog" />
32    </PreferenceCategory>
33
34    <PreferenceCategory
35        android:key="key_category_expiration"
36        android:title="@string/password_expiration_category" >
37
38        <EditTextPreference
39            android:key="key_history"
40            android:title="@string/password_history_depth"
41            android:dialogTitle="@string/password_history_depth"
42            android:inputType="number" />
43        <EditTextPreference
44            android:key="key_expiration_timeout"
45            android:title="@string/password_expiration_timeout"
46            android:dialogTitle="@string/password_expiration_timeout"
47            android:inputType="number" />
48        <PreferenceScreen
49            android:key="key_expiration_status"
50            android:title="@string/password_expiration_status" />
51    </PreferenceCategory>
52
53</PreferenceScreen>
54