1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2018 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17
18<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:settings="http://schemas.android.com/apk/res-auto"
21    android:key="top_level_settings">
22
23    <com.android.settings.widget.HomepagePreference
24        android:fragment="com.android.settings.network.NetworkDashboardFragment"
25        android:icon="@drawable/ic_settings_wireless"
26        android:key="top_level_network"
27        android:order="-150"
28        android:title="@string/network_dashboard_title"
29        android:summary="@string/summary_placeholder"
30        settings:highlightableMenuKey="@string/menu_key_network"
31        settings:controller="com.android.settings.network.TopLevelNetworkEntryPreferenceController"/>
32
33    <com.android.settings.widget.HomepagePreference
34        android:fragment="com.android.settings.communal.CommunalDashboardFragment"
35        android:icon="@drawable/ia_settings_communal"
36        android:key="top_level_communal"
37        android:order="-145"
38        android:title="@string/communal_settings_title"
39        android:summary="@string/communal_settings_summary"
40        settings:highlightableMenuKey="@string/menu_key_communal"
41        settings:controller="com.android.settings.communal.CommunalPreferenceController"/>
42
43    <com.android.settings.widget.HomepagePreference
44        android:fragment="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment"
45        android:icon="@drawable/ic_devices_other"
46        android:key="top_level_connected_devices"
47        android:order="-140"
48        android:title="@string/connected_devices_dashboard_title"
49        android:summary="@string/connected_devices_dashboard_default_summary"
50        settings:highlightableMenuKey="@string/menu_key_connected_devices"
51        settings:controller="com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController"/>
52
53    <com.android.settings.widget.HomepagePreference
54        android:fragment="com.android.settings.applications.AppDashboardFragment"
55        android:icon="@drawable/ic_apps"
56        android:key="top_level_apps"
57        android:order="-130"
58        android:title="@string/apps_dashboard_title"
59        android:summary="@string/app_and_notification_dashboard_summary"
60        settings:highlightableMenuKey="@string/menu_key_apps"/>
61
62    <com.android.settings.widget.HomepagePreference
63        android:fragment="com.android.settings.notification.ConfigureNotificationSettings"
64        android:icon="@drawable/ic_notifications"
65        android:key="top_level_notifications"
66        android:order="-120"
67        android:title="@string/configure_notification_settings"
68        android:summary="@string/notification_dashboard_summary"
69        settings:highlightableMenuKey="@string/menu_key_notifications"/>
70
71    <com.android.settings.widget.HomepagePreference
72        android:fragment="com.android.settings.fuelgauge.batteryusage.PowerUsageSummary"
73        android:icon="@drawable/ic_settings_battery_white"
74        android:key="top_level_battery"
75        android:order="-110"
76        android:title="@string/power_usage_summary_title"
77        android:summary="@string/summary_placeholder"
78        settings:highlightableMenuKey="@string/menu_key_battery"
79        settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/>
80
81    <com.android.settings.widget.HomepagePreference
82        android:fragment="com.android.settings.deviceinfo.StorageDashboardFragment"
83        android:icon="@drawable/ic_storage_white"
84        android:key="top_level_storage"
85        android:order="-100"
86        android:title="@string/storage_settings"
87        android:summary="@string/summary_placeholder"
88        settings:highlightableMenuKey="@string/menu_key_storage"
89        settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/>
90
91    <com.android.settings.widget.HomepagePreference
92        android:fragment="com.android.settings.notification.SoundSettings"
93        android:icon="@drawable/ic_volume_up_24dp"
94        android:key="top_level_sound"
95        android:order="-90"
96        android:title="@string/sound_settings"
97        android:summary="@string/sound_dashboard_summary"
98        settings:highlightableMenuKey="@string/menu_key_sound"/>
99
100    <com.android.settings.widget.HomepagePreference
101        android:fragment="com.android.settings.DisplaySettings"
102        android:icon="@drawable/ic_settings_display_white"
103        android:key="top_level_display"
104        android:order="-80"
105        android:title="@string/display_settings"
106        android:summary="@string/display_dashboard_summary"
107        settings:highlightableMenuKey="@string/menu_key_display"
108        settings:controller="com.android.settings.display.TopLevelDisplayPreferenceController"/>
109
110    <com.android.settings.widget.RestrictedHomepagePreference
111        android:icon="@drawable/ic_settings_wallpaper_white"
112        android:key="top_level_wallpaper"
113        android:order="-70"
114        android:title="@string/wallpaper_settings_title"
115        android:summary="@string/wallpaper_dashboard_summary"
116        settings:highlightableMenuKey="@string/menu_key_wallpaper"
117        settings:controller="com.android.settings.display.TopLevelWallpaperPreferenceController"/>
118
119    <com.android.settings.widget.HomepagePreference
120        android:fragment="com.android.settings.accessibility.AccessibilitySettings"
121        android:icon="@drawable/ic_settings_accessibility"
122        android:key="top_level_accessibility"
123        android:order="-60"
124        android:title="@string/accessibility_settings"
125        android:summary="@string/accessibility_settings_summary"
126        settings:highlightableMenuKey="@string/menu_key_accessibility"
127        settings:controller="com.android.settings.accessibility.TopLevelAccessibilityPreferenceController"/>
128
129    <com.android.settings.widget.HomepagePreference
130        android:icon="@drawable/ic_settings_safety_center"
131        android:key="top_level_safety_center"
132        android:order="-55"
133        android:title="@string/safety_center_title"
134        android:summary="@string/safety_center_summary"
135        settings:highlightableMenuKey="@string/menu_key_safety_center"
136        settings:controller="com.android.settings.safetycenter.TopLevelSafetyCenterEntryPreferenceController"/>
137
138    <com.android.settings.widget.HomepagePreference
139        android:fragment="com.android.settings.security.SecuritySettings"
140        android:icon="@drawable/ic_settings_security_white"
141        android:key="top_level_security"
142        android:order="-50"
143        android:title="@string/security_settings_title"
144        android:summary="@string/security_dashboard_summary"
145        settings:highlightableMenuKey="@string/menu_key_security"
146        settings:controller="com.android.settings.security.TopLevelSecurityEntryPreferenceController"/>
147
148    <com.android.settings.widget.HomepagePreference
149        android:fragment="com.android.settings.privacy.PrivacyDashboardFragment"
150        android:icon="@drawable/ic_settings_privacy"
151        android:key="top_level_privacy"
152        android:order="-40"
153        android:title="@string/privacy_dashboard_title"
154        android:summary="@string/privacy_dashboard_summary"
155        settings:highlightableMenuKey="@string/menu_key_privacy"
156        settings:controller="com.android.settings.privacy.TopLevelPrivacyEntryPreferenceController"/>
157
158    <com.android.settings.widget.HomepagePreference
159        android:fragment="com.android.settings.location.LocationSettings"
160        android:icon="@drawable/ic_settings_location"
161        android:key="top_level_location"
162        android:order="-30"
163        android:title="@string/location_settings_title"
164        android:summary="@string/location_settings_loading_app_permission_stats"
165        settings:highlightableMenuKey="@string/menu_key_location"
166        settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/>
167
168    <com.android.settings.widget.HomepagePreference
169        android:key="top_level_emergency"
170        android:title="@string/emergency_settings_preference_title"
171        android:summary="@string/emergency_dashboard_summary"
172        android:icon="@drawable/ic_settings_emergency"
173        android:order="-20"
174        android:fragment="com.android.settings.emergency.EmergencyDashboardFragment"
175        settings:isPreferenceVisible="@bool/config_show_emergency_settings"
176        settings:highlightableMenuKey="@string/menu_key_emergency"/>
177
178    <com.android.settings.widget.HomepagePreference
179        android:fragment="com.android.settings.accounts.AccountDashboardFragment"
180        android:icon="@drawable/ic_settings_accounts"
181        android:key="top_level_accounts"
182        android:order="-10"
183        android:title="@string/account_dashboard_title_with_passkeys"
184        android:summary="@string/summary_placeholder"
185        settings:highlightableMenuKey="@string/menu_key_accounts"
186        settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/>
187
188    <com.android.settings.widget.HomepagePreference
189        android:fragment="com.android.settings.system.SystemDashboardFragment"
190        android:icon="@drawable/ic_settings_system_dashboard_white"
191        android:key="top_level_system"
192        android:order="10"
193        android:title="@string/header_category_system"
194        android:summary="@string/system_dashboard_summary"
195        settings:highlightableMenuKey="@string/menu_key_system"/>
196
197    <com.android.settings.widget.HomepagePreference
198        android:fragment="com.android.settings.deviceinfo.aboutphone.MyDeviceInfoFragment"
199        android:icon="@drawable/ic_settings_about_device"
200        android:key="top_level_about_device"
201        android:order="20"
202        android:title="@string/about_settings"
203        android:summary="@string/summary_placeholder"
204        settings:highlightableMenuKey="@string/menu_key_about_device"
205        settings:controller="com.android.settings.deviceinfo.aboutphone.TopLevelAboutDevicePreferenceController"/>
206
207    <com.android.settings.widget.HomepagePreference
208        android:icon="@drawable/ic_help"
209        android:key="top_level_support"
210        android:order="100"
211        android:title="@string/page_tab_title_support"
212        android:summary="@string/support_summary"
213        settings:highlightableMenuKey="@string/menu_key_support"
214        settings:controller="com.android.settings.support.SupportPreferenceController"/>
215
216</PreferenceScreen>
217