Home | History | Annotate | Download | only in xml
      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">
     20     <SwitchPreference
     21         android:key="wifi_enable"
     22         android:persistent="false"
     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     <Preference
     29         android:key="wifi_collapse"
     30         android:title="@string/wifi_setting_see_all" />
     31 
     32     <PreferenceCategory
     33         android:key="wifi_other"
     34         android:title="@string/wifi_setting_header_other_options" >
     35         <Preference
     36             android:key="wifi_wps"
     37             android:title="@string/wifi_setting_other_options_wps" >
     38             <intent
     39                 android:targetClass="com.android.tv.settings.connectivity.WpsConnectionActivity"
     40                 android:targetPackage="com.android.tv.settings" />
     41         </Preference>
     42         <Preference
     43             android:key="wifi_add"
     44             android:title="@string/wifi_setting_other_options_add_network" >
     45             <intent
     46                 android:targetClass="com.android.tv.settings.connectivity.AddWifiNetworkActivity"
     47                 android:targetPackage="com.android.tv.settings" />
     48 
     49         </Preference>
     50         <SwitchPreference
     51             android:key="wifi_always_scan"
     52             android:persistent="false"
     53             android:title="@string/wifi_setting_always_scan"
     54             android:summary="@string/wifi_setting_always_scan_context" />
     55     </PreferenceCategory>
     56 
     57     <PreferenceCategory
     58         android:key="ethernet"
     59         android:title="@string/connectivity_ethernet" >
     60         <Preference
     61             android:key="ethernet_status"
     62             android:title="@string/not_connected" />
     63         <Preference
     64             android:key="ethernet_proxy"
     65             android:title="@string/title_wifi_proxy_settings" />
     66         <Preference
     67             android:key="ethernet_dhcp"
     68             android:title="@string/title_wifi_ip_settings" />
     69     </PreferenceCategory>
     70 </PreferenceScreen>