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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="wrap_content"> 19 <LinearLayout 20 style="@style/SectionContainer" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:weightSum="3" 24 android:orientation="vertical"> 25 <include layout="@layout/metric_display" /> 26 <LinearLayout 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:layout_weight="1" 30 android:weightSum="3"> 31 <LinearLayout 32 style="@style/SectionContainer" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent" 35 android:layout_weight="1" 36 android:weightSum="2"> 37 <TextView 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:text="@string/label_is_pans_overridden"/> 41 <TextView 42 android:id="@+id/currentPANSStatusTextView" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:text="@string/no"/> 46 </LinearLayout> 47 <LinearLayout 48 style="@style/SectionContainer" 49 android:layout_width="match_parent" 50 android:layout_height="wrap_content" 51 android:layout_weight="1" 52 android:weightSum="2"> 53 <TextView 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:text="@string/label_apply_latest_policy_on_boot"/> 57 <Switch 58 android:id="@+id/reapplyPANSOnBootSwitch" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content"/> 61 </LinearLayout> 62 <LinearLayout 63 style="@style/SectionContainer" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" 66 android:layout_weight="1" 67 android:weightSum="2"> 68 <TextView 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:text="@string/label_apply_wifi_policy_on_boot"/> 72 <Switch 73 android:id="@+id/reapplyWifiSuggestionsOnBootSwitch" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content"/> 76 </LinearLayout> 77 </LinearLayout> 78 <LinearLayout 79 android:layout_width="match_parent" 80 android:layout_height="wrap_content" 81 android:layout_weight="1" 82 android:weightSum="2"> 83 <LinearLayout 84 style="@style/SectionContainer" 85 android:layout_width="match_parent" 86 android:layout_height="wrap_content" 87 android:layout_weight="1" 88 android:weightSum="5" 89 android:orientation="vertical"> 90 <LinearLayout 91 style="@style/SectionContainer" 92 android:layout_width="match_parent" 93 android:layout_height="wrap_content" 94 android:layout_weight="1" 95 android:weightSum="2" 96 android:orientation="vertical"> 97 <TextView 98 android:layout_width="match_parent" 99 android:layout_height="wrap_content" 100 android:text="@string/oem_paid_apps_text" 101 android:labelFor="@+id/OEMPaidAppsEditText"/> 102 <EditText 103 android:id="@+id/OEMPaidAppsEditText" 104 android:layout_width="match_parent" 105 android:layout_height="wrap_content" 106 android:inputType="textNoSuggestions|textMultiLine" 107 android:lines="2"/> 108 </LinearLayout> 109 <LinearLayout 110 style="@style/SectionContainer" 111 android:layout_width="match_parent" 112 android:layout_height="wrap_content" 113 android:layout_weight="1" 114 android:weightSum="2" 115 android:orientation="vertical"> 116 <TextView 117 android:layout_width="match_parent" 118 android:layout_height="wrap_content" 119 android:text="@string/oem_paid_no_fallback_apps_text" 120 android:labelFor="@+id/OEMPaidNoFallbackAppsEditText"/> 121 <EditText 122 android:id="@+id/OEMPaidNoFallbackAppsEditText" 123 android:layout_width="match_parent" 124 android:layout_height="wrap_content" 125 android:inputType="textNoSuggestions"/> 126 </LinearLayout> 127 <LinearLayout 128 style="@style/SectionContainer" 129 android:layout_width="match_parent" 130 android:layout_height="wrap_content" 131 android:weightSum="2" 132 android:layout_weight="1" 133 android:orientation="vertical"> 134 <TextView 135 android:layout_width="match_parent" 136 android:layout_height="wrap_content" 137 android:text="@string/oem_paid_only_apps_text" 138 android:labelFor="@+id/OEMPaidOnlyAppsEditText"/> 139 <EditText 140 android:id="@+id/OEMPaidOnlyAppsEditText" 141 android:layout_width="match_parent" 142 android:layout_height="wrap_content" 143 android:inputType="textNoSuggestions"/> 144 </LinearLayout> 145 <LinearLayout 146 style="@style/SectionContainer" 147 android:layout_width="match_parent" 148 android:layout_height="wrap_content" 149 android:layout_weight="1" 150 android:weightSum="2" 151 android:orientation="vertical"> 152 <TextView 153 android:layout_width="match_parent" 154 android:layout_height="wrap_content" 155 android:text="@string/oem_private_only_apps_text" 156 android:labelFor="@+id/OEMPrivateOnlyAppsEditText"/> 157 <EditText 158 android:id="@+id/OEMPrivateOnlyAppsEditText" 159 android:layout_width="match_parent" 160 android:layout_height="wrap_content" 161 android:inputType="textNoSuggestions|textMultiLine" 162 android:lines="2"/> 163 </LinearLayout> 164 <LinearLayout 165 android:layout_width="match_parent" 166 android:layout_height="wrap_content" 167 android:layout_weight="1" 168 android:weightSum="2"> 169 <Button 170 style="@style/Button" 171 android:id="@+id/applyConfigurationBtn" 172 android:layout_width="match_parent" 173 android:layout_height="wrap_content" 174 android:layout_weight="1" 175 android:text="@string/button_apply_configuration"/> 176 <Button 177 style="@style/Button" 178 android:id="@+id/resetNetworkPreferencesBtn" 179 android:layout_width="match_parent" 180 android:layout_height="wrap_content" 181 android:layout_weight="1" 182 android:text="@string/button_reset_network_preference"/> 183 </LinearLayout> 184 </LinearLayout> 185 <LinearLayout 186 style="@style/SectionContainer" 187 android:layout_width="match_parent" 188 android:layout_height="wrap_content" 189 android:layout_weight="1" 190 android:weightSum="5" 191 android:orientation="vertical"> 192 <LinearLayout 193 style="@style/SectionContainer" 194 android:layout_width="match_parent" 195 android:layout_height="wrap_content" 196 android:layout_weight="1" 197 android:weightSum="2" 198 android:orientation="vertical"> 199 <TextView 200 android:layout_width="match_parent" 201 android:layout_height="wrap_content" 202 android:text="@string/oem_paid_wifi_ssids_text" 203 android:labelFor="@+id/OEMPaidWifiSSIDsEditText"/> 204 <EditText 205 android:id="@+id/OEMPaidWifiSSIDsEditText" 206 android:layout_width="match_parent" 207 android:layout_height="wrap_content" 208 android:inputType="textNoSuggestions"/> 209 </LinearLayout> 210 <LinearLayout 211 style="@style/SectionContainer" 212 android:layout_width="match_parent" 213 android:layout_height="wrap_content" 214 android:layout_weight="1" 215 android:weightSum="2" 216 android:orientation="vertical"> 217 <TextView 218 android:layout_width="match_parent" 219 android:layout_height="wrap_content" 220 android:text="@string/oem_private_wifi_ssids_text" 221 android:labelFor="@+id/OEMPrivateWifiSSIDsEditText"/> 222 <EditText 223 android:id="@+id/OEMPrivateWifiSSIDsEditText" 224 android:layout_width="match_parent" 225 android:layout_height="wrap_content" 226 android:inputType="textNoSuggestions"/> 227 </LinearLayout> 228 <LinearLayout 229 android:layout_width="match_parent" 230 android:layout_height="wrap_content" 231 android:layout_weight="1" 232 android:weightSum="2"> 233 <Button 234 style="@style/Button" 235 android:id="@+id/applyWifiCapabilitiesButton" 236 android:layout_width="match_parent" 237 android:layout_height="wrap_content" 238 android:layout_weight="1" 239 android:text="@string/button_apply_wifi_configuration"/> 240 <Button 241 style="@style/Button" 242 android:id="@+id/resetWifiCapabilitiesButton" 243 android:layout_width="match_parent" 244 android:layout_height="wrap_content" 245 android:layout_weight="1" 246 android:text="@string/button_reset_wifi_configuration"/> 247 </LinearLayout> 248 <LinearLayout 249 android:layout_width="match_parent" 250 android:layout_height="wrap_content" 251 android:layout_weight="1"> 252 <TextView 253 android:layout_width="wrap_content" 254 android:layout_height="wrap_content" 255 android:text="@string/label_switch_connect_to_oem_paid_wifi"/> 256 <Switch 257 android:id="@+id/connectToOemPaidWifiSwitch" 258 android:layout_width="wrap_content" 259 android:layout_height="wrap_content"/> 260 </LinearLayout> 261 <LinearLayout 262 android:layout_width="match_parent" 263 android:layout_height="wrap_content" 264 android:layout_weight="1"> 265 <TextView 266 android:layout_width="wrap_content" 267 android:layout_height="wrap_content" 268 android:text="@string/label_switch_connect_to_oem_private_wifi"/> 269 <Switch 270 android:id="@+id/connectToOemPrivateWifiSwitch" 271 android:layout_width="wrap_content" 272 android:layout_height="wrap_content"/> 273 </LinearLayout> 274 </LinearLayout> 275 </LinearLayout> 276 </LinearLayout> 277</ScrollView> 278