| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2020 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_grouped"> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.network.NetworkDashboardFragment" |
| android:icon="@drawable/ic_homepage_network_v2" |
| android:key="top_level_network" |
| android:order="-150" |
| android:title="@string/network_dashboard_title" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.network.TopLevelNetworkEntryPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment" |
| android:icon="@drawable/ic_homepage_connected_device_v2" |
| android:key="top_level_connected_devices" |
| android:order="-140" |
| android:title="@string/connected_devices_dashboard_title" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.connecteddevice.TopLevelConnectedDevicesPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.applications.AppDashboardFragment" |
| android:icon="@drawable/ic_homepage_apps_v2" |
| android:key="top_level_apps" |
| android:order="-130" |
| android:title="@string/apps_dashboard_title" |
| android:summary="@string/app_and_notification_dashboard_summary"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.notification.ConfigureNotificationSettings" |
| android:icon="@drawable/ic_homepage_notification_v2" |
| android:key="top_level_notification" |
| android:order="-120" |
| android:title="@string/configure_notification_settings" |
| android:summary="@string/notification_dashboard_summary"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" |
| android:icon="@drawable/ic_homepage_battery_v2" |
| android:key="top_level_battery" |
| android:order="-110" |
| android:title="@string/power_usage_summary_title" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.fuelgauge.TopLevelBatteryPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.deviceinfo.StorageDashboardFragment" |
| android:icon="@drawable/ic_homepage_storage_v2" |
| android:key="top_level_storage" |
| android:order="-100" |
| android:title="@string/storage_settings" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.deviceinfo.TopLevelStoragePreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.notification.SoundSettings" |
| android:icon="@drawable/ic_homepage_sound_v2" |
| android:key="top_level_sound" |
| android:order="-90" |
| android:title="@string/sound_settings" |
| android:summary="@string/sound_dashboard_summary"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.DisplaySettings" |
| android:icon="@drawable/ic_homepage_display_v2" |
| android:key="top_level_display" |
| android:order="-80" |
| android:title="@string/display_settings" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.display.TopLevelDisplayPreferenceController"/> |
| |
| <com.android.settings.homepage.RestrictedHomepagePreference |
| android:icon="@drawable/ic_homepage_wallpaper_v2" |
| android:key="top_level_wallpaper" |
| android:order="-70" |
| android:title="@string/wallpaper_settings_title" |
| android:summary="@string/wallpaper_dashboard_summary" |
| settings:controller="com.android.settings.display.TopLevelWallpaperPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.accessibility.AccessibilitySettings" |
| android:icon="@drawable/ic_homepage_accessibility_v2" |
| android:key="top_level_accessibility" |
| android:order="-60" |
| android:title="@string/accessibility_settings" |
| android:summary="@string/accessibility_settings_summary" |
| settings:controller="com.android.settings.accessibility.TopLevelAccessibilityPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.security.SecuritySettings" |
| android:icon="@drawable/ic_homepage_security_v2" |
| android:key="top_level_security" |
| android:order="-50" |
| android:title="@string/security_settings_title" |
| android:summary="@string/security_dashboard_summary_biometric" |
| settings:controller="com.android.settings.security.TopLevelSecurityEntryPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.privacy.PrivacyDashboardFragment" |
| android:icon="@drawable/ic_homepage_privacy_v2" |
| android:key="top_level_privacy" |
| android:order="-40" |
| android:title="@string/privacy_dashboard_title" |
| android:summary="@string/privacy_dashboard_summary"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.location.LocationSettings" |
| android:icon="@drawable/ic_homepage_location_v2" |
| android:key="top_level_location" |
| android:order="-30" |
| android:title="@string/location_settings_title" |
| android:summary="@string/location_settings_loading_app_permission_stats" |
| settings:controller="com.android.settings.location.TopLevelLocationPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:key="top_level_emergency" |
| android:title="@string/emergency_settings_preference_title" |
| android:summary="@string/emergency_dashboard_summary" |
| android:icon="@drawable/ic_homepage_emergency_v2" |
| android:order="-20" |
| android:fragment="com.android.settings.emergency.EmergencyDashboardFragment"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.accounts.AccountDashboardFragment" |
| android:icon="@drawable/ic_homepage_accounts_v2" |
| android:key="top_level_accounts" |
| android:order="-10" |
| android:title="@string/account_dashboard_title" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.accounts.TopLevelAccountEntryPreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.system.SystemDashboardFragment" |
| android:icon="@drawable/ic_homepage_system_dashboard_v2" |
| android:key="top_level_system" |
| android:order="10" |
| android:title="@string/header_category_system" |
| android:summary="@string/system_dashboard_summary"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:fragment="com.android.settings.deviceinfo.aboutphone.MyDeviceInfoFragment" |
| android:icon="@drawable/ic_homepage_about_v2" |
| android:key="top_level_about_device" |
| android:order="20" |
| android:title="@string/about_settings" |
| android:summary="@string/summary_placeholder" |
| settings:controller="com.android.settings.deviceinfo.aboutphone.TopLevelAboutDevicePreferenceController"/> |
| |
| <com.android.settings.homepage.HomepagePreference |
| android:icon="@drawable/ic_homepage_support_v2" |
| android:key="top_level_support" |
| android:order="100" |
| android:title="@string/page_tab_title_support" |
| android:summary="@string/support_summary" |
| settings:controller="com.android.settings.support.SupportPreferenceController"/> |
| |
| </PreferenceScreen> |