272 lines
12 KiB
XML
272 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:weightSum="3"
|
|
android:orientation="vertical">
|
|
<include layout="@layout/metric_display" />
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="3">
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:weightSum="2">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_is_pans_overridden"/>
|
|
<TextView
|
|
android:id="@+id/currentPANSStatusTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/no"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_apply_latest_policy_on_boot"/>
|
|
<Switch
|
|
android:id="@+id/reapplyPANSOnBootSwitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_apply_wifi_policy_on_boot"/>
|
|
<Switch
|
|
android:id="@+id/reapplyWifiSuggestionsOnBootSwitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2">
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="5"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/oem_paid_apps_text"
|
|
android:labelFor="@+id/OEMPaidAppsEditText"/>
|
|
<EditText
|
|
android:id="@+id/OEMPaidAppsEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/oem_paid_no_fallback_apps_text"
|
|
android:labelFor="@+id/OEMPaidNoFallbackAppsEditText"/>
|
|
<EditText
|
|
android:id="@+id/OEMPaidNoFallbackAppsEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:weightSum="2"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/oem_paid_only_apps_text"
|
|
android:labelFor="@+id/OEMPaidOnlyAppsEditText"/>
|
|
<EditText
|
|
android:id="@+id/OEMPaidOnlyAppsEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/oem_private_only_apps_text"
|
|
android:labelFor="@+id/OEMPrivateOnlyAppsEditText"/>
|
|
<EditText
|
|
android:id="@+id/OEMPrivateOnlyAppsEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2">
|
|
<Button
|
|
style="@style/Button"
|
|
android:id="@+id/applyConfigurationBtn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/button_apply_configuration"/>
|
|
<Button
|
|
style="@style/Button"
|
|
android:id="@+id/resetNetworkPreferencesBtn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/button_reset_network_preference"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="5"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/oem_paid_wifi_ssids_text"
|
|
android:labelFor="@+id/OEMPaidWifiSSIDsEditText"/>
|
|
<EditText
|
|
android:id="@+id/OEMPaidWifiSSIDsEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
style="@style/SectionContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/oem_private_wifi_ssids_text"
|
|
android:labelFor="@+id/OEMPrivateWifiSSIDsEditText"/>
|
|
<EditText
|
|
android:id="@+id/OEMPrivateWifiSSIDsEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:weightSum="2">
|
|
<Button
|
|
style="@style/Button"
|
|
android:id="@+id/applyWifiCapabilitiesButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/button_apply_wifi_configuration"/>
|
|
<Button
|
|
style="@style/Button"
|
|
android:id="@+id/resetWifiCapabilitiesButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/button_reset_wifi_configuration"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_switch_connect_to_oem_paid_wifi"/>
|
|
<Switch
|
|
android:id="@+id/connectToOemPaidWifiSwitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_switch_connect_to_oem_private_wifi"/>
|
|
<Switch
|
|
android:id="@+id/connectToOemPrivateWifiSwitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|