1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2016 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 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:title="@string/connectivity_network_category_title"> 20 <SwitchPreference 21 android:key="wifi_enable" 22 android:persistent="true" 23 android:title="@string/wifi_setting_enable_wifi" /> 24 25 <com.android.tv.settings.connectivity.CollapsibleCategory 26 android:key="wifi_list" 27 android:title="@string/wifi_setting_available_networks" 28 android:layout="@layout/preference_category_compact_layout" /> 29 <Preference 30 android:key="wifi_collapse" 31 android:title="@string/wifi_setting_see_all" /> 32 33 <PreferenceCategory 34 android:key="wifi_other" 35 android:title="@string/wifi_setting_header_other_options" 36 android:layout="@layout/preference_category_compact_layout" > 37 <Preference 38 android:key="wifi_add" 39 android:title="@string/wifi_setting_other_options_add_network" > 40 <intent 41 android:targetClass="com.android.tv.settings.connectivity.AddWifiNetworkActivity" 42 android:targetPackage="com.android.tv.settings" /> 43 44 </Preference> 45 <SwitchPreference 46 android:key="wifi_always_scan" 47 android:persistent="true" 48 android:title="@string/wifi_setting_always_scan" 49 android:summary="@string/wifi_setting_always_scan_context" /> 50 </PreferenceCategory> 51 52 <PreferenceCategory 53 android:key="ethernet" 54 android:title="@string/connectivity_ethernet" 55 android:layout="@layout/preference_category_compact_layout" > 56 <Preference 57 android:key="ethernet_status" 58 android:title="@string/not_connected" /> 59 <Preference 60 android:key="ethernet_proxy" 61 android:title="@string/title_wifi_proxy_settings" /> 62 <Preference 63 android:key="ethernet_dhcp" 64 android:title="@string/title_wifi_ip_settings" /> 65 </PreferenceCategory> 66</PreferenceScreen> 67