blob: 34d8032cbb9cab11fc158ae025ef7c2eb41daf97 [file] [log] [blame]
Fan Zhang78d5efd2017-06-06 16:55:53 -07001<?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
Doris Ling03a3b512017-10-18 14:25:01 -070018<PreferenceScreen
19 xmlns:android="http://schemas.android.com/apk/res/android"
jackqdyuleic1cc4902017-12-20 11:22:52 -080020 xmlns:settings="http://schemas.android.com/apk/res-auto"
Edgar Wang0934bab2020-02-06 11:40:42 +080021 android:title="@string/wifi_hotspot_checkbox_text">
Fan Zhang78d5efd2017-06-06 16:55:53 -070022
Arc Wangb249fb72019-03-04 17:20:41 +080023 <com.android.settings.wifi.tether.WifiTetherSsidPreference
Fan Zhang78d5efd2017-06-06 16:55:53 -070024 android:key="wifi_tether_network_name"
Fan Zhang325d28a2017-07-25 13:25:39 -070025 android:title="@string/wifi_hotspot_name_title"
Fan Zhang9ce4a1f2018-08-15 12:55:56 -070026 android:summary="@string/summary_placeholder"/>
Fan Zhang78d5efd2017-06-06 16:55:53 -070027
Salvador Martinezf3d532f2018-05-15 17:44:42 -070028 <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"
Fan Zhang9ce4a1f2018-08-15 12:55:56 -070033 android:entryValues="@array/wifi_tether_security_values"/>
Salvador Martinezf3d532f2018-05-15 17:44:42 -070034
Fan Zhang78d5efd2017-06-06 16:55:53 -070035 <com.android.settings.widget.ValidatedEditTextPreference
36 android:key="wifi_tether_network_password"
Fan Zhang9607dde2018-05-08 16:29:39 -070037 android:persistent="false"
Fan Zhang9ce4a1f2018-08-15 12:55:56 -070038 android:title="@string/wifi_hotspot_password_title"/>
Fan Zhang78d5efd2017-06-06 16:55:53 -070039
Arc Wangb3471282020-05-18 11:13:47 +080040 <ListPreference
41 android:key="wifi_tether_network_ap_band"
42 android:title="@string/wifi_hotspot_ap_band_title"/>
43
jackqdyuleic1cc4902017-12-20 11:22:52 -080044 <SwitchPreference
45 android:key="wifi_tether_auto_turn_off"
46 android:title="@string/wifi_hotspot_auto_off_title"
Fan Zhang9ce4a1f2018-08-15 12:55:56 -070047 android:summary="@string/wifi_hotspot_auto_off_summary"/>
Chilund3358d82018-03-26 18:28:56 +080048</PreferenceScreen>