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:key="top_level_network" 25 android:title="@string/network_dashboard_title" 26 android:summary="@string/summary_placeholder" 27 android:icon="@drawable/ic_homepage_network" 28 android:order="-120" 29 android:fragment="com.android.settings.network.NetworkDashboardFragment" 30 settings:controller="com.android.settings.network.TopLevelNetworkEntryPreferenceController"/> 31 32 <Preference 33 android:key="top_level_connected_devices" 34 android:title="@string/connected_devices_dashboard_title" 35 android:summary="@string/summary_placeholder" 36 android:icon="@drawable/ic_homepage_connected_device" 37 android:order="-110" 38 android:fragment="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment" 39 settings:controller="com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController"/> 40 41 <Preference 42 android:key="top_level_apps_and_notifs" 43 android:title="@string/app_and_notification_dashboard_title" 44 android:summary="@string/app_and_notification_dashboard_summary" 45 android:icon="@drawable/ic_homepage_apps" 46 android:order="-100" 47 android:fragment="com.android.settings.applications.AppAndNotificationDashboardFragment"/> 48 49 <Preference 50 android:key="top_level_battery" 51 android:title="@string/power_usage_summary_title" 52 android:summary="@string/summary_placeholder" 53 android:icon="@drawable/ic_homepage_battery" 54 android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" 55 android:order="-90" 56 settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/> 57 58 <Preference 59 android:key="top_level_display" 60 android:title="@string/display_settings" 61 android:summary="@string/summary_placeholder" 62 android:icon="@drawable/ic_homepage_display" 63 android:order="-80" 64 android:fragment="com.android.settings.DisplaySettings" 65 settings:controller="com.android.settings.display.TopLevelDisplayPreferenceController"/> 66 67 <Preference 68 android:key="top_level_sound" 69 android:title="@string/sound_settings" 70 android:summary="@string/sound_dashboard_summary" 71 android:icon="@drawable/ic_homepage_sound" 72 android:order="-70" 73 android:fragment="com.android.settings.notification.SoundSettings"/> 74 75 <Preference 76 android:key="top_level_storage" 77 android:title="@string/storage_settings" 78 android:summary="@string/summary_placeholder" 79 android:icon="@drawable/ic_homepage_storage" 80 android:order="-60" 81 android:fragment="com.android.settings.deviceinfo.StorageSettings" 82 settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/> 83 84 <Preference 85 android:key="top_level_privacy" 86 android:title="@string/privacy_dashboard_title" 87 android:summary="@string/privacy_dashboard_summary" 88 android:icon="@drawable/ic_homepage_privacy" 89 android:order="-55" 90 android:fragment="com.android.settings.privacy.PrivacyDashboardFragment"/> 91 92 <Preference 93 android:key="top_level_location" 94 android:title="@string/location_settings_title" 95 android:summary="@string/location_settings_loading_app_permission_stats" 96 android:icon="@drawable/ic_homepage_location" 97 android:order="-50" 98 android:fragment="com.android.settings.location.LocationSettings" 99 settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/> 100 101 <Preference 102 android:key="top_level_security" 103 android:title="@string/security_settings_title" 104 android:summary="@string/summary_placeholder" 105 android:icon="@drawable/ic_homepage_security" 106 android:order="-40" 107 android:fragment="com.android.settings.security.SecuritySettings" 108 settings:controller="com.android.settings.security.TopLevelSecurityEntryPreferenceController"/> 109 110 <Preference 111 android:key="top_level_accounts" 112 android:title="@string/account_dashboard_title" 113 android:summary="@string/summary_placeholder" 114 android:icon="@drawable/ic_homepage_accounts" 115 android:order="-30" 116 android:fragment="com.android.settings.accounts.AccountDashboardFragment" 117 settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/> 118 119 <Preference 120 android:key="top_level_accessibility" 121 android:title="@string/accessibility_settings" 122 android:summary="@string/accessibility_settings_summary" 123 android:icon="@drawable/ic_homepage_accessibility" 124 android:order="-20" 125 android:fragment="com.android.settings.accessibility.AccessibilitySettings" 126 settings:controller="com.android.settings.accessibility.TopLevelAccessibilityPreferenceController"/> 127 128 <Preference 129 android:key="top_level_system" 130 android:title="@string/header_category_system" 131 android:summary="@string/system_dashboard_summary" 132 android:icon="@drawable/ic_homepage_system_dashboard" 133 android:order="10" 134 android:fragment="com.android.settings.system.SystemDashboardFragment"/> 135 136 <Preference 137 android:key="top_level_about_device" 138 android:title="@string/about_settings" 139 android:summary="@string/summary_placeholder" 140 android:icon="@drawable/ic_homepage_about" 141 android:order="20" 142 android:fragment="com.android.settings.deviceinfo.aboutphone.MyDeviceInfoFragment" 143 settings:controller="com.android.settings.deviceinfo.aboutphone.TopLevelAboutDevicePreferenceController"/> 144 145 <Preference 146 android:key="top_level_support" 147 android:summary="@string/support_summary" 148 android:title="@string/page_tab_title_support" 149 android:icon="@drawable/ic_homepage_support" 150 android:order="100" 151 settings:controller="com.android.settings.support.SupportPreferenceController"/> 152 153</PreferenceScreen> 154