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:restrictedSwitchSummary="@string/not_allowed_by_ent"
57        settings:allowDividerAbove="true"/>
58
59    <PreferenceCategory
60        android:key="connected_access_point"
61        android:layout="@layout/preference_category_no_label"/>
62
63    <PreferenceCategory
64        android:key="first_access_points"
65        android:layout="@layout/preference_category_no_label"/>
66
67    <PreferenceCategory
68        android:key="access_points"
69        android:layout="@layout/preference_category_no_label">
70
71        <com.android.settings.wifi.AddWifiNetworkPreference
72            android:key="add_wifi_network"
73            android:title="@string/wifi_add_network"
74            android:icon="@drawable/ic_add_24dp"/>
75    </PreferenceCategory>
76
77    <Preference
78        android:key="configure_network_settings"
79        android:title="@string/network_and_internet_preferences_title"
80        settings:allowDividerAbove="true"
81        android:fragment="com.android.settings.wifi.ConfigureWifiSettings"/>
82
83    <Preference
84        android:key="saved_networks"
85        android:title="@string/wifi_saved_access_points_label"
86        android:fragment="com.android.settings.wifi.savedaccesspoints2.SavedAccessPointsWifiSettings2"/>
87
88    <com.android.settings.datausage.DataUsagePreference
89        android:key="non_carrier_data_usage"
90        android:title="@string/non_carrier_data_usage"/>
91
92    <com.android.settingslib.widget.FooterPreference
93        android:key="wifi_status_message_footer"
94        android:selectable="false"
95        settings:allowDividerAbove="false"
96        settings:searchable="false"/>
97</PreferenceScreen>
98