1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2017 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17
18<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:settings="http://schemas.android.com/apk/res-auto"
21    android:title="@string/wifi_hotspot_checkbox_text">
22
23    <com.android.settings.wifi.tether.WifiTetherSsidPreference
24        android:key="wifi_tether_network_name"
25        android:title="@string/wifi_hotspot_name_title"
26        android:summary="@string/summary_placeholder"/>
27
28    <ListPreference
29        android:key="wifi_tether_security"
30        android:title="@string/wifi_security"
31        android:summary="@string/summary_placeholder"
32        android:entries="@array/wifi_tether_security"
33        android:entryValues="@array/wifi_tether_security_values"/>
34
35    <Preference
36        android:key="wifi_hotspot_security"
37        android:title="@string/wifi_security"
38        android:summary="@string/summary_placeholder"
39        android:fragment="com.android.settings.wifi.tether.WifiHotspotSecuritySettings"
40        settings:isPreferenceVisible="@bool/config_show_wifi_hotspot_speed"/>
41
42    <com.android.settings.widget.ValidatedEditTextPreference
43        android:key="wifi_tether_network_password"
44        android:persistent="false"
45        android:title="@string/wifi_hotspot_password_title"/>
46
47    <SwitchPreferenceCompat
48        android:key="wifi_tether_auto_turn_off"
49        android:title="@string/wifi_hotspot_auto_off_title"
50        android:summary="@string/wifi_hotspot_auto_off_summary"/>
51
52    <SwitchPreferenceCompat
53        android:key="wifi_tether_maximize_compatibility"
54        android:title="@string/wifi_hotspot_maximize_compatibility"/>
55
56    <Preference
57        android:key="wifi_hotspot_speed"
58        android:title="@string/wifi_hotspot_speed_title"
59        android:summary="@string/summary_placeholder"
60        android:fragment="com.android.settings.wifi.tether.WifiHotspotSpeedSettings"
61        settings:isPreferenceVisible="@bool/config_show_wifi_hotspot_speed"/>
62
63    <Preference
64        android:key="wifi_hotspot_instant"
65        android:title="@string/wifi_hotspot_instant_title"
66        android:summary="@string/summary_placeholder"
67        settings:isPreferenceVisible="false"/>
68</PreferenceScreen>
69