1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2020 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:title="@string/provider_internet_settings" 21 settings:keywords="@string/keywords_wifi"> 22 23 <!-- Resetting your internet description --> 24 <com.android.settingslib.widget.LayoutPreference 25 android:key="resetting_your_internet" 26 android:title="@string/resetting_internet_text" 27 android:selectable="false" 28 android:layout="@layout/resetting_internet" 29 settings:allowDividerBelow="true"/> 30 31 <!-- Airplane mode message --> 32 <com.android.settingslib.widget.LayoutPreference 33 android:key="airplane_mode_message" 34 android:title="@string/condition_airplane_title" 35 android:selectable="false" 36 android:layout="@layout/airplane_mode_message_preference" 37 settings:allowDividerBelow="true"/> 38 39 <Preference 40 android:key="connected_ethernet_network" 41 android:title="@string/ethernet" 42 android:summary="@string/to_switch_networks_disconnect_ethernet" 43 android:icon="@drawable/ic_settings_ethernet"/> 44 45 <PreferenceCategory 46 android:key="provider_model_mobile_network" 47 android:title="@string/summary_placeholder" 48 android:layout="@layout/preference_category_no_label" 49 settings:isPreferenceVisible="@bool/config_show_sim_info" 50 settings:controller="com.android.settings.network.NetworkMobileProviderController"/> 51 52 <com.android.settingslib.RestrictedSwitchPreference 53 android:key="main_toggle_wifi" 54 android:title="@string/wifi" 55 settings:keywords="@string/keywords_wifi" 56 settings:allowDividerAbove="true"/> 57 58 <PreferenceCategory 59 android:key="connected_access_point" 60 android:layout="@layout/preference_category_no_label"/> 61 62 <PreferenceCategory 63 android:key="first_access_points" 64 android:layout="@layout/preference_category_no_label"/> 65 66 <PreferenceCategory 67 android:key="access_points" 68 android:layout="@layout/preference_category_no_label"> 69 70 <com.android.settings.wifi.AddWifiNetworkPreference 71 android:key="add_wifi_network" 72 android:title="@string/wifi_add_network" 73 android:icon="@drawable/ic_add_24dp"/> 74 </PreferenceCategory> 75 76 <Preference 77 android:key="configure_network_settings" 78 android:title="@string/network_and_internet_preferences_title" 79 settings:allowDividerAbove="true" 80 android:fragment="com.android.settings.wifi.ConfigureWifiSettings"/> 81 82 <Preference 83 android:key="saved_networks" 84 android:title="@string/wifi_saved_access_points_label" 85 android:fragment="com.android.settings.wifi.savedaccesspoints2.SavedAccessPointsWifiSettings2"/> 86 87 <com.android.settings.datausage.DataUsagePreference 88 android:key="non_carrier_data_usage" 89 android:title="@string/non_carrier_data_usage"/> 90 91 <com.android.settingslib.widget.FooterPreference 92 android:key="wifi_status_message_footer" 93 android:selectable="false" 94 settings:allowDividerAbove="false" 95 settings:searchable="false"/> 96</PreferenceScreen> 97