1<!-- 2 ~ Copyright (C) 2023 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<PreferenceScreen 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:settings="http://schemas.android.com/apk/res-auto" 19 android:title="@string/private_space_hide_page_title"> 20 21 <com.android.settingslib.widget.IllustrationPreference 22 android:key="private_space_hide_illustration" 23 settings:searchable="false" 24 settings:lottie_rawRes="@raw/private_space_hide_when_locked_illustration"/> 25 26 <com.android.settingslib.widget.MainSwitchPreference 27 android:key="hide_when_locked" 28 android:title="@string/private_space_hide_when_locked" 29 settings:controller="com.android.settings.privatespace.HidePrivateSpaceController"/> 30 31 <Preference 32 android:key="private_space_hidden" 33 android:summary="@string/private_space_hide_page_summary" 34 android:selectable="false" 35 settings:searchable="false" /> 36 37 <PreferenceCategory 38 android:title="@string/private_space_access_header"> 39 40 <Preference 41 android:key="search_when_locked_footer" 42 android:icon="@drawable/counter_1_24dp" 43 android:title="@string/private_space_search_description" 44 android:selectable="false" 45 settings:searchable="false" /> 46 47 <Preference 48 android:key="tap_tile_footer" 49 android:icon="@drawable/counter_2_24dp" 50 android:title="@string/private_space_tap_tile_description" 51 android:selectable="false" 52 settings:searchable="false" /> 53 54 <Preference 55 android:key="unlock_profile_footer" 56 android:icon="@drawable/counter_3_24dp" 57 android:title="@string/private_space_unlock_description" 58 android:selectable="false" 59 settings:searchable="false" /> 60 61 </PreferenceCategory> 62 63</PreferenceScreen> 64