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 <!-- TODO: Re-enable once more suggestion use cases are supported. 23 <com.android.car.settings.common.LogicalPreferenceGroup 24 android:key="@string/pk_suggestions" 25 settings:controller="com.android.car.settings.suggestions.SuggestionsPreferenceController"/> 26 --> 27 <Preference 28 android:fragment="com.android.car.settings.display.DisplaySettingsFragment" 29 android:icon="@drawable/ic_settings_display" 30 android:key="@string/pk_display_settings_entry" 31 android:title="@string/display_settings" 32 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 33 <Preference 34 android:fragment="com.android.car.settings.sound.SoundSettingsFragment" 35 android:icon="@drawable/ic_settings_sound" 36 android:key="@string/pk_sound_settings_entry" 37 android:title="@string/sound_settings" 38 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 39 <Preference 40 android:fragment="com.android.car.settings.units.UnitsSettingsFragment" 41 android:icon="@drawable/ic_settings_units" 42 android:key="@string/pk_units_settings_entry" 43 android:title="@string/units_settings"/> 44 <Preference 45 android:fragment="com.android.car.settings.network.NetworkAndInternetFragment" 46 android:icon="@drawable/ic_settings_wifi" 47 android:key="@string/pk_network_and_internet_entry" 48 android:title="@string/network_and_internet" 49 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 50 <com.android.car.settings.common.LogicalPreferenceGroup 51 android:key="@string/pk_wireless_extra_settings" 52 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 53 <intent android:action="com.android.settings.action.EXTRA_SETTINGS"> 54 <extra android:name="com.android.settings.category" 55 android:value="com.android.settings.category.wireless"/> 56 </intent> 57 </com.android.car.settings.common.LogicalPreferenceGroup> 58 <Preference 59 android:fragment="com.android.car.settings.bluetooth.BluetoothSettingsFragment" 60 android:icon="@drawable/ic_settings_bluetooth" 61 android:key="@string/pk_bluetooth_settings_entry" 62 android:title="@string/bluetooth_settings_title" 63 settings:controller="com.android.car.settings.bluetooth.BluetoothEntryPreferenceController"/> 64 <Preference 65 android:fragment="com.android.car.settings.location.LocationSettingsFragment" 66 android:icon="@drawable/ic_settings_location" 67 android:key="@string/pk_location_settings_entry" 68 android:title="@string/location_settings_title" 69 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 70 <Preference 71 android:fragment="com.android.car.settings.applications.AppsAndNotificationsFragment" 72 android:icon="@drawable/ic_settings_applications" 73 android:key="@string/pk_apps_and_notifications_settings_entry" 74 android:title="@string/apps_and_notifications_settings" 75 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 76 <Preference 77 android:fragment="com.android.car.settings.datetime.DatetimeSettingsFragment" 78 android:icon="@drawable/ic_settings_date_time" 79 android:key="@string/pk_date_time_settings_entry" 80 android:title="@string/date_and_time_settings_title" 81 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 82 <Preference 83 android:icon="@drawable/ic_user" 84 android:key="@string/pk_users_settings_entry" 85 android:title="@string/users_list_title" 86 settings:controller="com.android.car.settings.users.UsersEntryPreferenceController"/> 87 <Preference 88 android:fragment="com.android.car.settings.accounts.AccountSettingsFragment" 89 android:icon="@drawable/ic_account" 90 android:key="@string/pk_accounts_settings_entry" 91 android:title="@string/accounts_settings_title" 92 settings:controller="com.android.car.settings.accounts.AccountsEntryPreferenceController"/> 93 <Preference 94 android:fragment="com.android.car.settings.privacy.PrivacySettingsFragment" 95 android:icon="@drawable/ic_privacy" 96 android:key="@string/pk_privacy_settings_entry" 97 android:title="@string/privacy_settings_title" 98 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 99 <Preference 100 android:fragment="com.android.car.settings.storage.StorageSettingsFragment" 101 android:icon="@drawable/ic_storage" 102 android:key="@string/pk_storage_settings_entry" 103 android:title="@string/storage_settings_title" 104 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 105 <Preference 106 android:fragment="com.android.car.settings.security.SecuritySettingsFragment" 107 android:icon="@drawable/ic_lock" 108 android:key="@string/pk_security_settings_entry" 109 android:title="@string/security_settings_title" 110 settings:controller="com.android.car.settings.security.SecurityEntryPreferenceController"/> 111 <Preference 112 android:fragment="com.android.car.settings.system.SystemSettingsFragment" 113 android:icon="@drawable/ic_settings_about" 114 android:key="@string/pk_system_settings_entry" 115 android:title="@string/system_setting_title" 116 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/> 117 <com.android.car.settings.common.LogicalPreferenceGroup 118 android:key="@string/pk_device_extra_settings" 119 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 120 <intent android:action="com.android.settings.action.EXTRA_SETTINGS"> 121 <extra android:name="com.android.settings.category" 122 android:value="com.android.settings.category.ia.device"/> 123 </intent> 124 </com.android.car.settings.common.LogicalPreferenceGroup> 125 <com.android.car.settings.common.LogicalPreferenceGroup 126 android:key="@string/pk_personal_extra_settings" 127 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 128 <intent android:action="com.android.settings.action.EXTRA_SETTINGS"> 129 <extra android:name="com.android.settings.category" 130 android:value="com.android.settings.category.personal"/> 131 </intent> 132 </com.android.car.settings.common.LogicalPreferenceGroup> 133</PreferenceScreen> 134