Amith Yamasani | b810a0d | 2012-03-25 10:12:26 -0700 | [diff] [blame] | 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 | |
Fan Zhang | 881d579 | 2018-01-26 10:15:56 -0800 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
fengjen wu | 8513520 | 2018-03-20 13:33:55 +0800 | [diff] [blame] | 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Fan Zhang | 881d579 | 2018-01-26 10:15:56 -0800 | [diff] [blame] | 20 | android:key="user_settings_screen" |
| 21 | android:title="@string/user_settings_title"> |
Amith Yamasani | b810a0d | 2012-03-25 10:12:26 -0700 | [diff] [blame] | 22 | |
Amith Yamasani | 3104b04 | 2012-09-25 15:47:08 -0700 | [diff] [blame] | 23 | <PreferenceCategory |
Fan Zhang | 881d579 | 2018-01-26 10:15:56 -0800 | [diff] [blame] | 24 | android:key="user_list" |
| 25 | android:title="@string/user_list_title" |
Raff Tsai | 0be77ac | 2018-10-31 10:50:12 +0800 | [diff] [blame] | 26 | android:order="10" |
| 27 | settings:searchable="false"> |
Amith Yamasani | d4abdd2 | 2013-04-17 18:27:01 -0700 | [diff] [blame] | 28 | </PreferenceCategory> |
| 29 | |
Fan Zhang | 12b03b2 | 2017-10-29 13:57:29 -0700 | [diff] [blame] | 30 | <com.android.settingslib.RestrictedPreference |
Andras Kloczl | 4d7d4ef | 2020-04-21 11:32:12 +0100 | [diff] [blame] | 31 | android:key="guest_add" |
| 32 | android:title="@string/guest_new_guest" |
| 33 | android:order="15"/> |
| 34 | |
| 35 | <com.android.settingslib.RestrictedPreference |
Fan Zhang | 881d579 | 2018-01-26 10:15:56 -0800 | [diff] [blame] | 36 | android:key="user_add" |
| 37 | android:title="@string/user_add_user_or_profile_menu" |
Andras Kloczl | 4d7d4ef | 2020-04-21 11:32:12 +0100 | [diff] [blame] | 38 | android:icon="@drawable/ic_add_40dp" |
Fan Zhang | 881d579 | 2018-01-26 10:15:56 -0800 | [diff] [blame] | 39 | android:order="20"/> |
| 40 | |
Fan Zhang | 881d579 | 2018-01-26 10:15:56 -0800 | [diff] [blame] | 41 | <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 wu | 8513520 | 2018-03-20 13:33:55 +0800 | [diff] [blame] | 45 | android:order="105" |
| 46 | settings:allowDividerAbove="true"/> |
Amith Yamasani | 233592b | 2013-03-01 17:05:23 -0800 | [diff] [blame] | 47 | |
Sunny Shao | 7687e0b | 2019-08-26 16:00:20 +0800 | [diff] [blame] | 48 | <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 Yamasani | b810a0d | 2012-03-25 10:12:26 -0700 | [diff] [blame] | 55 | </PreferenceScreen> |