| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2018 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <PreferenceScreen |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:settings="http://schemas.android.com/apk/res-auto" |
| android:key="top_level_settings"> |
| |
| <Preference |
| android:key="top_level_network" |
| android:title="@string/network_dashboard_title" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_network" |
| android:order="-120" |
| android:fragment="com.android.settings.network.NetworkDashboardFragment" |
| settings:controller="com.android.settings.network.TopLevelNetworkEntryPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_connected_devices" |
| android:title="@string/connected_devices_dashboard_title" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_connected_device" |
| android:order="-110" |
| android:fragment="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment" |
| settings:controller="com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_apps_and_notifs" |
| android:title="@string/app_and_notification_dashboard_title" |
| android:summary="@string/app_and_notification_dashboard_summary" |
| android:icon="@drawable/ic_homepage_apps" |
| android:order="-100" |
| android:fragment="com.android.settings.applications.AppAndNotificationDashboardFragment"/> |
| |
| <Preference |
| android:key="top_level_battery" |
| android:title="@string/power_usage_summary_title" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_battery" |
| android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" |
| android:order="-90" |
| settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_display" |
| android:title="@string/display_settings" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_display" |
| android:order="-80" |
| android:fragment="com.android.settings.DisplaySettings" |
| settings:controller="com.android.settings.display.TopLevelDisplayPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_sound" |
| android:title="@string/sound_settings" |
| android:summary="@string/sound_dashboard_summary" |
| android:icon="@drawable/ic_homepage_sound" |
| android:order="-70" |
| android:fragment="com.android.settings.notification.SoundSettings"/> |
| |
| <Preference |
| android:key="top_level_storage" |
| android:title="@string/storage_settings" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_storage" |
| android:order="-60" |
| android:fragment="com.android.settings.deviceinfo.StorageSettings" |
| settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/> |
| |
| <Preference |
| android:key="top_level_privacy" |
| android:title="@string/privacy_dashboard_title" |
| android:summary="@string/privacy_dashboard_summary" |
| android:icon="@drawable/ic_homepage_privacy" |
| android:order="-55" |
| android:fragment="com.android.settings.privacy.PrivacyDashboardFragment"/> |
| |
| <Preference |
| android:key="top_level_location" |
| android:title="@string/location_settings_title" |
| android:summary="@string/location_settings_loading_app_permission_stats" |
| android:icon="@drawable/ic_homepage_location" |
| android:order="-50" |
| android:fragment="com.android.settings.location.LocationSettings" |
| settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_security" |
| android:title="@string/security_settings_title" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_security" |
| android:order="-40" |
| android:fragment="com.android.settings.security.SecuritySettings" |
| settings:controller="com.android.settings.security.TopLevelSecurityEntryPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_accounts" |
| android:title="@string/account_dashboard_title" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_accounts" |
| android:order="-30" |
| android:fragment="com.android.settings.accounts.AccountDashboardFragment" |
| settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_accessibility" |
| android:title="@string/accessibility_settings" |
| android:summary="@string/accessibility_settings_summary" |
| android:icon="@drawable/ic_homepage_accessibility" |
| android:order="-20" |
| android:fragment="com.android.settings.accessibility.AccessibilitySettings" |
| settings:controller="com.android.settings.accessibility.TopLevelAccessibilityPreferenceController"/> |
| |
| <Preference |
| android:key="top_level_emergency" |
| android:title="@string/emergency_settings_preference_title" |
| android:icon="@drawable/ic_homepage_emergency" |
| android:order="-10" |
| android:fragment="com.android.settings.emergency.EmergencyDashboardFragment"/> |
| |
| <Preference |
| android:key="top_level_system" |
| android:title="@string/header_category_system" |
| android:summary="@string/system_dashboard_summary" |
| android:icon="@drawable/ic_homepage_system_dashboard" |
| android:order="10" |
| android:fragment="com.android.settings.system.SystemDashboardFragment"/> |
| |
| <Preference |
| android:key="top_level_about_device" |
| android:title="@string/about_settings" |
| android:summary="@string/summary_placeholder" |
| android:icon="@drawable/ic_homepage_about" |
| android:order="20" |
| android:fragment="com.android.settings.deviceinfo.aboutphone.MyDeviceInfoFragment" |
| settings:controller="com.android.settings.deviceinfo.aboutphone.TopLevelAboutDevicePreferenceController"/> |
| |
| <Preference |
| android:key="top_level_support" |
| android:summary="@string/support_summary" |
| android:title="@string/page_tab_title_support" |
| android:icon="@drawable/ic_homepage_support" |
| android:order="100" |
| settings:controller="com.android.settings.support.SupportPreferenceController"/> |
| |
| </PreferenceScreen> |