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:controller="com.android.settings.network.NetworkMobileProviderController"/> 50 51 <com.android.settingslib.RestrictedSwitchPreference 52 android:key="main_toggle_wifi" 53 android:title="@string/wifi" 54 android:summary="@string/wifi_switch_summary" 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 <Preference 71 android:key="configure_wifi_settings" 72 android:title="@string/network_and_internet_preferences_title" 73 android:summary="@string/network_and_internet_preferences_summary" 74 settings:allowDividerAbove="true" 75 android:fragment="com.android.settings.wifi.ConfigureWifiSettings"/> 76 77 <Preference 78 android:key="saved_networks" 79 android:title="@string/wifi_saved_access_points_label" 80 android:fragment="com.android.settings.wifi.savedaccesspoints2.SavedAccessPointsWifiSettings2"/> 81 82 <com.android.settings.datausage.DataUsagePreference 83 android:key="non_carrier_data_usage" 84 android:title="@string/non_carrier_data_usage"/> 85</PreferenceScreen> 86