1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 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:title="@string/settings_label" 22 android:key="@string/psk_homepage"> 23 <!-- TODO: Re-enable once more suggestion use cases are supported. 24 <com.android.car.settings.common.LogicalPreferenceGroup 25 android:key="@string/pk_suggestions" 26 settings:controller="com.android.car.settings.suggestions.SuggestionsPreferenceController"/> 27 --> 28 <com.android.car.settings.common.TopLevelPreference 29 android:fragment="com.android.car.settings.bluetooth.BluetoothSettingsFragment" 30 android:icon="@drawable/ic_top_level_bluetooth" 31 android:key="@string/pk_bluetooth_settings_entry" 32 android:title="@string/bluetooth_settings_title" 33 settings:controller="com.android.car.settings.bluetooth.BluetoothEntryPreferenceController"/> 34 <com.android.car.settings.common.TopLevelPreference 35 android:fragment="com.android.car.settings.network.NetworkAndInternetFragment" 36 android:icon="@drawable/ic_top_level_network_and_internet" 37 android:key="@string/pk_network_and_internet_entry" 38 android:title="@string/network_and_internet" 39 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 40 <com.android.car.settings.common.LogicalPreferenceGroup 41 android:key="@string/pk_wireless_extra_settings" 42 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 43 <intent> 44 <extra android:name="com.android.settings.category" 45 android:value="com.android.settings.category.wireless"/> 46 </intent> 47 </com.android.car.settings.common.LogicalPreferenceGroup> 48 <com.android.car.settings.common.TopLevelPreference 49 android:fragment="com.android.car.settings.notifications.NotificationsFragment" 50 android:icon="@drawable/ic_top_level_notifications" 51 android:key="@string/pk_notifications_settings_entry" 52 android:title="@string/notifications_label" 53 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 54 <com.android.car.settings.common.TopLevelPreference 55 android:fragment="com.android.car.settings.sound.SoundSettingsFragment" 56 android:icon="@drawable/ic_top_level_sound" 57 android:key="@string/pk_sound_settings_entry" 58 android:title="@string/sound_settings" 59 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 60 <com.android.car.settings.common.TopLevelPreference 61 android:fragment="com.android.car.settings.display.DisplaySettingsFragment" 62 android:icon="@drawable/ic_top_level_display" 63 android:key="@string/pk_display_settings_entry" 64 android:title="@string/display_settings" 65 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 66 <com.android.car.settings.common.TopLevelPreference 67 android:icon="@drawable/ic_top_level_profiles_and_accounts" 68 android:key="@string/pk_profiles_and_accounts_settings_entry" 69 android:title="@string/profiles_and_accounts_settings_title" 70 settings:controller="com.android.car.settings.profiles.ProfilesEntryPreferenceController"/> 71 <com.android.car.settings.common.TopLevelPreference 72 android:fragment="com.android.car.settings.location.LocationSettingsFragment" 73 android:icon="@drawable/ic_top_level_location" 74 android:key="@string/pk_location_settings_entry" 75 android:title="@string/location_settings_title" 76 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 77 <com.android.car.settings.common.TopLevelPreference 78 android:fragment="com.android.car.settings.privacy.PrivacySettingsFragment" 79 android:icon="@drawable/ic_top_level_privacy" 80 android:key="@string/pk_privacy_settings_entry" 81 android:title="@string/privacy_settings_title" 82 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 83 <com.android.car.settings.common.TopLevelPreference 84 android:fragment="com.android.car.settings.security.SecuritySettingsFragment" 85 android:icon="@drawable/ic_top_level_security" 86 android:key="@string/pk_security_settings_entry" 87 android:title="@string/security_settings_title" 88 settings:controller="com.android.car.settings.security.SecurityEntryPreferenceController"/> 89 <com.android.car.settings.common.TopLevelPreference 90 android:fragment="com.android.car.settings.applications.AppsFragment" 91 android:icon="@drawable/ic_top_level_applications" 92 android:key="@string/pk_apps_settings_entry" 93 android:title="@string/apps_settings_title" 94 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 95 <com.android.car.settings.common.TopLevelPreference 96 android:fragment="com.android.car.settings.applications.assist.AssistantAndVoiceFragment" 97 android:icon="@drawable/ic_top_level_assistant_and_voice" 98 android:key="@string/pk_assistant_and_voice_settings_entry" 99 android:title="@string/assistant_and_voice_setting_title" 100 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 101 <com.android.car.settings.common.TopLevelPreference 102 android:fragment="com.android.car.settings.system.SystemSettingsFragment" 103 android:icon="@drawable/ic_top_level_system" 104 android:key="@string/pk_system_settings_entry" 105 android:title="@string/system_setting_title" 106 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 107 <com.android.car.settings.common.LogicalPreferenceGroup 108 android:key="@string/pk_device_extra_settings" 109 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 110 <intent> 111 <extra android:name="com.android.settings.category" 112 android:value="com.android.settings.category.ia.device"/> 113 </intent> 114 </com.android.car.settings.common.LogicalPreferenceGroup> 115 <com.android.car.settings.common.LogicalPreferenceGroup 116 android:key="@string/pk_personal_extra_settings" 117 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 118 <intent> 119 <extra android:name="com.android.settings.category" 120 android:value="com.android.settings.category.personal"/> 121 </intent> 122 </com.android.car.settings.common.LogicalPreferenceGroup> 123</PreferenceScreen> 124