Customized Settings for restricted users - Only some top-level settings panels available User management - Primary user can add and remove users - User details screen to change name and list of enabled apps Change-Id: Ia6beb991b427197a4ec2724ca3c9222073f6cf7d
63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2012 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.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
|
android:title="@string/user_details_title">
|
|
|
|
<PreferenceCategory
|
|
android:key="information_category"
|
|
android:title="@string/user_information_heading">
|
|
<EditTextPreference
|
|
android:key="user_name"
|
|
android:title="@string/user_name_title"
|
|
android:persistent="false"
|
|
/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="restrictions_category"
|
|
android:title="@string/user_restrictions_heading">
|
|
<CheckBoxPreference
|
|
android:key="market_requires_pin"
|
|
android:title="@string/user_market_requires_pin"
|
|
android:persistent="false"
|
|
android:enabled="false"
|
|
/>
|
|
<ListPreference
|
|
android:key="content_rating"
|
|
android:title="@string/user_max_content_rating"
|
|
android:entries="@array/user_content_ratings_entries"
|
|
android:entryValues="@array/user_content_ratings_values"
|
|
android:persistent="false"
|
|
android:enabled="false"
|
|
/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="system_apps_category"
|
|
android:title="@string/user_system_apps_heading">
|
|
<!-- Dynamically added content -->
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="market_apps_category"
|
|
android:title="@string/user_market_apps_heading">
|
|
<!-- Dynamically added content -->
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|