1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 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<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:key="user_settings_screen" 21 android:title="@string/user_settings_title"> 22 23 <com.android.settingslib.widget.TopIntroPreference 24 android:key="multiuser_top_intro" 25 android:title="@string/user_settings_footer_text" 26 settings:controller="com.android.settings.users.MultiUserTopIntroPreferenceController"/> 27 28 <PreferenceCategory 29 android:key="guest_category" 30 android:title="@string/guest_category_title" 31 android:order="2" 32 settings:searchable="false"/> 33 34 <Preference 35 android:key="guest_exit" 36 android:title="@string/guest_exit_button" 37 android:icon="@drawable/ic_guest_exit" 38 android:order="3"/> 39 40 <Preference 41 android:key="guest_reset" 42 android:title="@string/guest_reset_button" 43 android:icon="@drawable/ic_guest_reset" 44 android:order="4"/> 45 46 <PreferenceCategory 47 android:key="user_list" 48 android:title="@string/user_category_title" 49 android:order="10" 50 settings:searchable="false"/> 51 52 <com.android.settingslib.RestrictedPreference 53 android:key="user_add" 54 android:title="@string/user_add_user_or_profile_menu" 55 android:icon="@drawable/ic_add_40dp" 56 android:order="20"/> 57 58 <com.android.settingslib.RestrictedPreference 59 android:key="supervised_user_add" 60 android:title="@*android:string/supervised_user_creation_label" 61 android:icon="@drawable/ic_add_40dp" 62 android:order="25"/> 63 64 <PreferenceCategory 65 android:key="guest_user_category" 66 android:title="@*android:string/guest_name" 67 android:order="50"/> 68 69 <com.android.settingslib.RestrictedPreference 70 android:key="guest_add" 71 android:title="@string/guest_new_guest" 72 android:icon="@drawable/ic_add_40dp" 73 android:order="55"/> 74 75 <com.android.settingslib.RestrictedSwitchPreference 76 android:key="remove_guest_on_exit" 77 android:title="@string/remove_guest_on_exit" 78 android:summary="@string/remove_guest_on_exit_summary" 79 android:order="60" 80 settings:keywords="@string/remove_guest_on_exit_keywords"/> 81 82 <com.android.settingslib.RestrictedSwitchPreference 83 android:key="enable_guest_calling" 84 android:title="@string/enable_guest_calling" 85 android:summary="@string/enable_guest_calling_summary" 86 android:singleLineTitle="false" 87 android:order="65"/> 88 89 <com.android.settingslib.RestrictedSwitchPreference 90 android:key="user_settings_add_users_when_locked" 91 android:title="@string/user_add_on_lockscreen_menu" 92 android:singleLineTitle="false" 93 android:order="105" 94 settings:allowDividerAbove="true"/> 95 96 <com.android.settingslib.RestrictedPreference 97 android:key="timeout_to_dock_user_preference" 98 android:title="@string/switch_to_dock_user_when_docked" 99 android:order="106" 100 android:fragment="com.android.settings.users.TimeoutToDockUserSettings" 101 settings:controller="com.android.settings.users.TimeoutToDockUserPreferenceController"/> 102 103</PreferenceScreen> 104