<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2011 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- A set of preferences used to exercise the DevicePolicyManager API. --> <!-- This screen is shown for the "Password Expiration" header. --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <PreferenceCategory android:title="@string/password_controls_category" > <PreferenceScreen android:key="key_set_password" android:title="@string/set_password_user" /> <EditTextPreference android:key="key_reset_password" android:title="@string/set_password_api" android:dialogTitle="@string/set_password_api_dialog" /> </PreferenceCategory> <PreferenceCategory android:key="key_category_expiration" android:title="@string/password_expiration_category" > <EditTextPreference android:key="key_history" android:title="@string/password_history_depth" android:dialogTitle="@string/password_history_depth" android:inputType="number" /> <EditTextPreference android:key="key_expiration_timeout" android:title="@string/password_expiration_timeout" android:dialogTitle="@string/password_expiration_timeout" android:inputType="number" /> <PreferenceScreen android:key="key_expiration_status" android:title="@string/password_expiration_status" /> </PreferenceCategory> </PreferenceScreen>