blob: 7726a18ea944c9a045705426568ebfafc3128eb4 [file] [log] [blame]
Amith Yamasanib810a0d2012-03-25 10:12:26 -07001<?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
Fan Zhang881d5792018-01-26 10:15:56 -080017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
fengjen wu85135202018-03-20 13:33:55 +080019 xmlns:settings="http://schemas.android.com/apk/res-auto"
Fan Zhang881d5792018-01-26 10:15:56 -080020 android:key="user_settings_screen"
21 android:title="@string/user_settings_title">
Amith Yamasanib810a0d2012-03-25 10:12:26 -070022
Amith Yamasani3104b042012-09-25 15:47:08 -070023 <PreferenceCategory
Fan Zhang881d5792018-01-26 10:15:56 -080024 android:key="user_list"
25 android:title="@string/user_list_title"
Raff Tsai0be77ac2018-10-31 10:50:12 +080026 android:order="10"
27 settings:searchable="false">
Amith Yamasanid4abdd22013-04-17 18:27:01 -070028 </PreferenceCategory>
29
Fan Zhang12b03b22017-10-29 13:57:29 -070030 <com.android.settingslib.RestrictedPreference
Andras Kloczl4d7d4ef2020-04-21 11:32:12 +010031 android:key="guest_add"
32 android:title="@string/guest_new_guest"
33 android:order="15"/>
34
35 <com.android.settingslib.RestrictedPreference
Fan Zhang881d5792018-01-26 10:15:56 -080036 android:key="user_add"
37 android:title="@string/user_add_user_or_profile_menu"
Andras Kloczl4d7d4ef2020-04-21 11:32:12 +010038 android:icon="@drawable/ic_add_40dp"
Fan Zhang881d5792018-01-26 10:15:56 -080039 android:order="20"/>
40
Fan Zhang881d5792018-01-26 10:15:56 -080041 <com.android.settingslib.RestrictedSwitchPreference
42 android:key="user_settings_add_users_when_locked"
43 android:title="@string/user_add_on_lockscreen_menu"
44 android:singleLineTitle="false"
fengjen wu85135202018-03-20 13:33:55 +080045 android:order="105"
46 settings:allowDividerAbove="true"/>
Amith Yamasani233592b2013-03-01 17:05:23 -080047
Sunny Shao7687e0b2019-08-26 16:00:20 +080048 <com.android.settingslib.widget.FooterPreference
49 android:key="multiuser_footer"
50 android:title="@string/user_settings_footer_text"
51 android:selectable="false"
52 settings:searchable="false"
53 settings:controller="com.android.settings.users.MultiUserFooterPreferenceController"/>
54
Amith Yamasanib810a0d2012-03-25 10:12:26 -070055</PreferenceScreen>