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        settings:controller="com.android.settings.privatespace.HidePrivateSpaceIllustrationController"/>
26
27    <com.android.settingslib.widget.MainSwitchPreference
28        android:key="hide_when_locked"
29        android:title="@string/private_space_hide_when_locked"
30        settings:controller="com.android.settings.privatespace.HidePrivateSpaceController"/>
31
32        <Preference
33        android:key="private_space_hidden"
34        android:summary="@string/private_space_hide_page_summary"
35        android:selectable="false"
36        settings:searchable="false" />
37
38    <PreferenceCategory
39        android:key="private_space_access"
40        android:title="@string/private_space_access_header"
41        settings:controller="com.android.settings.privatespace.HidePrivateSpaceCategoryController">
42
43        <Preference
44        android:key="search_when_locked_footer"
45        android:icon="@drawable/counter_1_24dp"
46        android:title="@string/private_space_search_description"
47        android:selectable="false"
48        settings:searchable="false" />
49
50        <Preference
51            android:key="tap_tile_footer"
52            android:icon="@drawable/counter_2_24dp"
53            android:title="@string/private_space_tap_tile_description"
54            android:selectable="false"
55            settings:searchable="false" />
56
57        <Preference
58            android:key="unlock_profile_footer"
59            android:icon="@drawable/counter_3_24dp"
60            android:title="@string/private_space_unlock_description"
61            android:selectable="false"
62            settings:searchable="false" />
63
64    </PreferenceCategory>
65
66</PreferenceScreen>
67