Files
rk35xx-android14/development/samples/ApiDemos/res/xml/device_admin_expiration.xml
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

54 lines
2.1 KiB
XML

<?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>