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/network_and_internet" 22 android:key="@string/psk_network_and_internet"> 23 <com.android.car.ui.preference.CarUiTwoActionSwitchPreference 24 android:fragment="com.android.car.settings.wifi.WifiTetherFragment" 25 android:key="@string/pk_wifi_tether_settings_entry" 26 android:title="@string/hotspot_settings_title" 27 android:icon="@drawable/ic_wifi_tethering" 28 settings:controller="com.android.car.settings.wifi.WifiTetherPreferenceController" 29 settings:searchable="false"/> 30 <Preference 31 android:icon="@drawable/ic_settings_cellular" 32 android:key="@string/pk_mobile_network_settings_entry" 33 android:title="@string/mobile_network_settings" 34 settings:controller="com.android.car.settings.network.MobileNetworkEntryPreferenceController" 35 settings:searchable="false"/> 36 <Preference 37 android:fragment="com.android.car.settings.datausage.DataUsageFragment" 38 android:icon="@drawable/ic_settings_data_usage" 39 android:key="@string/pk_data_usage_settings_entry" 40 android:title="@string/data_usage_settings" 41 settings:controller="com.android.car.settings.datausage.DataUsageEntryPreferenceController" 42 settings:searchable="false"/> 43 <com.android.car.settings.common.LogicalPreferenceGroup 44 android:key="@string/pk_wifi_entry_group" 45 settings:controller="com.android.car.settings.wifi.WifiEntryGroupPreferenceController"> 46 <com.android.car.settings.common.DividerPreference/> 47 <com.android.car.settings.common.ClickableWhileDisabledSwitchPreference 48 android:key="@string/pk_wifi_entry_state_switch" 49 style="@style/ColoredSwitchPreferenceStyle" 50 android:title="@string/wifi_settings" 51 settings:controller="com.android.car.settings.wifi.WifiStateSwitchPreferenceController" 52 settings:searchable="false"/> 53 <com.android.car.settings.common.LogicalPreferenceGroup 54 android:key="@string/pk_limited_wifi_list" 55 settings:controller="com.android.car.settings.wifi.LimitedWifiEntryListPreferenceController" 56 settings:searchable="false"/> 57 <Preference 58 android:fragment="com.android.car.settings.wifi.WifiSettingsFragment" 59 android:key="@string/pk_wifi_settings_entry" 60 android:title="@string/network_and_internet_join_other_network_title" 61 settings:searchable="false"/> 62 <com.android.car.settings.common.DividerPreference/> 63 <Preference 64 android:fragment="com.android.car.settings.wifi.preferences.WifiPreferencesFragment" 65 android:key="@string/pk_wifi_preferences" 66 android:title="@string/wifi_preferences_title" 67 android:summary="@string/wifi_wakeup" 68 settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController" 69 settings:searchable="false"/> 70 </com.android.car.settings.common.LogicalPreferenceGroup> 71 <com.android.car.settings.common.LogicalPreferenceGroup 72 android:key="@string/pk_network_and_internet_extra_settings" 73 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 74 <intent> 75 <extra android:name="com.android.settings.category" 76 android:value="com.android.settings.category.ia.wireless"/> 77 </intent> 78 </com.android.car.settings.common.LogicalPreferenceGroup> 79</PreferenceScreen> 80