1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2008 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:title="@string/tether_settings_title_all"> 21 22 <com.android.settingslib.widget.TopIntroPreference 23 android:key="tether_prefs_top_intro" 24 settings:searchable="false"/> 25 26 <com.android.settings.widget.FixedLineSummaryPreference 27 android:key="wifi_tether" 28 android:title="@string/wifi_hotspot_checkbox_text" 29 android:summary="@string/summary_placeholder" 30 android:fragment="com.android.settings.wifi.tether.WifiTetherSettings" 31 settings:allowDividerAbove="true" 32 settings:maxLines="2"/> 33 34 <com.android.settingslib.RestrictedSwitchPreference 35 android:key="usb_tether_settings" 36 android:title="@string/usb_tethering_button_text" 37 android:summary="@string/usb_tethering_subtext" 38 settings:keywords="@string/keywords_hotspot_tethering" /> 39 40 <SwitchPreference 41 android:key="enable_bluetooth_tethering" 42 android:title="@string/bluetooth_tether_checkbox_text" 43 android:summary="@string/bluetooth_tethering_subtext" 44 settings:keywords="@string/keywords_hotspot_tethering" /> 45 46 <SwitchPreference 47 android:key="enable_ethernet_tethering" 48 android:title="@string/ethernet_tether_checkbox_text" 49 android:summary="@string/ethernet_tethering_subtext" 50 settings:keywords="@string/keywords_hotspot_tethering" /> 51 52 <com.android.settingslib.widget.FooterPreference 53 android:key="disabled_on_data_saver" 54 android:title="@string/tether_settings_disabled_on_data_saver" 55 android:selectable="false" 56 settings:searchable="false"/> 57</PreferenceScreen> 58