1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 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:key="network_provider_and_internet_screen" 21 android:title="@string/network_dashboard_title"> 22 23 <com.android.settingslib.RestrictedPreference 24 android:fragment="com.android.settings.network.NetworkProviderSettings" 25 android:key="internet_settings" 26 android:title="@string/provider_internet_settings" 27 android:summary="@string/summary_placeholder" 28 android:icon="@drawable/ic_settings_wireless" 29 android:order="-30" 30 settings:allowDividerAbove="true" 31 settings:keywords="@string/keywords_internet" 32 settings:useAdminDisabledSummary="true" /> 33 34 <com.android.settingslib.RestrictedPreference 35 android:key="calls_and_sms" 36 android:title="@string/calls_and_sms" 37 android:icon="@drawable/ic_calls_sms" 38 android:order="-20" 39 android:summary="@string/summary_placeholder" 40 android:fragment="com.android.settings.network.NetworkProviderCallsSmsFragment" 41 settings:userRestriction="no_config_mobile_networks" 42 settings:allowDividerBelow="true" 43 settings:useAdminDisabledSummary="true" 44 settings:controller="com.android.settings.network.NetworkProviderCallsSmsController" /> 45 46 <com.android.settingslib.RestrictedPreference 47 android:key="mobile_network_list" 48 android:title="@string/provider_network_settings_title" 49 android:summary="@string/summary_placeholder" 50 android:icon="@drawable/ic_sim_card" 51 android:order="-15" 52 settings:keywords="@string/keywords_more_mobile_networks" 53 settings:userRestriction="no_config_mobile_networks" 54 settings:isPreferenceVisible="@bool/config_show_sim_info" 55 settings:useAdminDisabledSummary="true" 56 settings:searchable="@bool/config_show_sim_info"/> 57 58 <com.android.settingslib.RestrictedSwitchPreference 59 android:key="airplane_mode" 60 android:title="@string/airplane_mode" 61 android:icon="@drawable/ic_airplanemode_active" 62 android:order="-5" 63 settings:controller="com.android.settings.network.AirplaneModePreferenceController" 64 settings:userRestriction="no_airplane_mode"/> 65 66 <com.android.settingslib.RestrictedPreference 67 android:fragment="com.android.settings.network.tether.TetherSettings" 68 android:key="tether_settings" 69 android:title="@string/tether_settings_title_all" 70 android:icon="@drawable/ic_wifi_tethering" 71 android:order="5" 72 android:summary="@string/summary_placeholder" 73 settings:controller="com.android.settings.network.TetherPreferenceController" 74 settings:keywords="@string/keywords_hotspot_tethering" 75 settings:userRestriction="no_config_tethering" 76 settings:useAdminDisabledSummary="true" /> 77 78 <com.android.settings.datausage.DataSaverPreference 79 android:key="restrict_background_parent_entry" 80 android:title="@string/data_saver_title" 81 android:icon="@drawable/ic_settings_data_usage" 82 android:order="10" 83 settings:isPreferenceVisible="@bool/config_show_data_saver" 84 android:fragment="com.android.settings.datausage.DataSaverSummary"/> 85 86 <com.android.settings.vpn2.VpnInfoPreference 87 android:fragment="com.android.settings.vpn2.VpnSettings" 88 android:key="vpn_settings" 89 android:title="@string/vpn_settings_title" 90 android:icon="@drawable/ic_vpn_key" 91 android:order="15" 92 android:summary="@string/summary_placeholder" 93 settings:userRestriction="no_config_vpn" 94 settings:useAdminDisabledSummary="true" /> 95 96 <com.android.settings.network.PrivateDnsModeDialogPreference 97 android:key="private_dns_settings" 98 android:title="@string/select_private_dns_configuration_title" 99 android:order="20" 100 android:dialogTitle="@string/select_private_dns_configuration_dialog_title" 101 android:dialogLayout="@layout/private_dns_mode_dialog" 102 android:positiveButtonText="@string/save" 103 android:negativeButtonText="@android:string/cancel" /> 104 105 <Preference 106 android:fragment="com.android.settings.network.AdaptiveConnectivitySettings" 107 android:key="adaptive_connectivity" 108 android:title="@string/adaptive_connectivity_title" 109 android:summary="@string/summary_placeholder" 110 android:order="25" 111 settings:controller="com.android.settings.network.AdaptiveConnectivityPreferenceController"/> 112 113 <Preference 114 android:key="cellular_security_network_internet" 115 android:title="@string/cellular_security_title" 116 android:summary="@string/cellular_security_summary" 117 android:order="30" 118 settings:controller="com.android.settings.network.CellularSecurityPreferenceController"/> 119</PreferenceScreen> 120