• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <Preference
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:controller="com.android.settings.network.TopLevelNetworkEntryPreferenceController"/>
31
32    <Preference
33        android:fragment="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment"
34        android:icon="@drawable/ic_devices_other"
35        android:key="top_level_connected_devices"
36        android:order="-140"
37        android:title="@string/connected_devices_dashboard_title"
38        android:summary="@string/connected_devices_dashboard_default_summary"
39        settings:controller="com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController"/>
40
41    <Preference
42        android:fragment="com.android.settings.applications.AppDashboardFragment"
43        android:icon="@drawable/ic_apps"
44        android:key="top_level_apps"
45        android:order="-130"
46        android:title="@string/apps_dashboard_title"
47        android:summary="@string/app_and_notification_dashboard_summary"/>
48
49    <Preference
50        android:fragment="com.android.settings.notification.ConfigureNotificationSettings"
51        android:icon="@drawable/ic_notifications"
52        android:key="top_level_notification"
53        android:order="-120"
54        android:title="@string/configure_notification_settings"
55        android:summary="@string/notification_dashboard_summary"/>
56
57    <Preference
58        android:fragment="com.android.settings.fuelgauge.PowerUsageSummary"
59        android:icon="@drawable/ic_settings_battery_white"
60        android:key="top_level_battery"
61        android:order="-110"
62        android:title="@string/power_usage_summary_title"
63        android:summary="@string/summary_placeholder"
64        settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/>
65
66    <Preference
67        android:fragment="com.android.settings.deviceinfo.StorageDashboardFragment"
68        android:icon="@drawable/ic_storage_white"
69        android:key="top_level_storage"
70        android:order="-100"
71        android:title="@string/storage_settings"
72        android:summary="@string/summary_placeholder"
73        settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/>
74
75    <Preference
76        android:fragment="com.android.settings.notification.SoundSettings"
77        android:icon="@drawable/ic_volume_up_24dp"
78        android:key="top_level_sound"
79        android:order="-90"
80        android:title="@string/sound_settings"
81        android:summary="@string/sound_dashboard_summary"/>
82
83    <Preference
84        android:fragment="com.android.settings.DisplaySettings"
85        android:icon="@drawable/ic_settings_display_white"
86        android:key="top_level_display"
87        android:order="-80"
88        android:title="@string/display_settings"
89        android:summary="@string/display_dashboard_summary"
90        settings:controller="com.android.settings.display.TopLevelDisplayPreferenceController"/>
91
92    <com.android.settingslib.RestrictedTopLevelPreference
93        android:icon="@drawable/ic_settings_wallpaper_white"
94        android:key="top_level_wallpaper"
95        android:order="-70"
96        android:title="@string/wallpaper_settings_title"
97        android:summary="@string/wallpaper_dashboard_summary"
98        settings:controller="com.android.settings.display.TopLevelWallpaperPreferenceController"/>
99
100    <Preference
101        android:fragment="com.android.settings.accessibility.AccessibilitySettings"
102        android:icon="@drawable/ic_settings_accessibility"
103        android:key="top_level_accessibility"
104        android:order="-60"
105        android:title="@string/accessibility_settings"
106        android:summary="@string/accessibility_settings_summary"
107        settings:controller="com.android.settings.accessibility.TopLevelAccessibilityPreferenceController"/>
108
109    <Preference
110        android:fragment="com.android.settings.security.SecuritySettings"
111        android:icon="@drawable/ic_settings_security_white"
112        android:key="top_level_security"
113        android:order="-50"
114        android:title="@string/security_settings_title"
115        android:summary="@string/security_dashboard_summary"
116        settings:controller="com.android.settings.security.TopLevelSecurityEntryPreferenceController"/>
117
118    <Preference
119        android:fragment="com.android.settings.privacy.PrivacyDashboardFragment"
120        android:icon="@drawable/ic_settings_privacy"
121        android:key="top_level_privacy"
122        android:order="-40"
123        android:title="@string/privacy_dashboard_title"
124        android:summary="@string/privacy_dashboard_summary"/>
125
126    <Preference
127        android:fragment="com.android.settings.location.LocationSettings"
128        android:icon="@drawable/ic_settings_location"
129        android:key="top_level_location"
130        android:order="-30"
131        android:title="@string/location_settings_title"
132        android:summary="@string/location_settings_loading_app_permission_stats"
133        settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/>
134
135    <Preference
136        android:key="top_level_emergency"
137        android:title="@string/emergency_settings_preference_title"
138        android:summary="@string/emergency_dashboard_summary"
139        android:icon="@drawable/ic_settings_emergency"
140        android:order="-20"
141        android:fragment="com.android.settings.emergency.EmergencyDashboardFragment"/>
142
143    <Preference
144        android:fragment="com.android.settings.accounts.AccountDashboardFragment"
145        android:icon="@drawable/ic_settings_accounts"
146        android:key="top_level_accounts"
147        android:order="-10"
148        android:title="@string/account_dashboard_title"
149        android:summary="@string/summary_placeholder"
150        settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/>
151
152    <Preference
153        android:fragment="com.android.settings.system.SystemDashboardFragment"
154        android:icon="@drawable/ic_settings_system_dashboard_white"
155        android:key="top_level_system"
156        android:order="10"
157        android:title="@string/header_category_system"
158        android:summary="@string/system_dashboard_summary"/>
159
160    <Preference
161        android:fragment="com.android.settings.deviceinfo.aboutphone.MyDeviceInfoFragment"
162        android:icon="@drawable/ic_phone_info"
163        android:key="top_level_about_device"
164        android:order="20"
165        android:title="@string/about_settings"
166        android:summary="@string/summary_placeholder"
167        settings:controller="com.android.settings.deviceinfo.aboutphone.TopLevelAboutDevicePreferenceController"/>
168
169    <Preference
170        android:icon="@drawable/ic_help"
171        android:key="top_level_support"
172        android:order="100"
173        android:title="@string/page_tab_title_support"
174        android:summary="@string/support_summary"
175        settings:controller="com.android.settings.support.SupportPreferenceController"/>
176
177</PreferenceScreen>
178