Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright (C) 2015 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/settings_app_name">
     20     <PreferenceCategory
     21         android:key="device"
     22         android:title="@string/header_category_device">
     23         <Preference
     24             android:icon="@drawable/ic_wifi_signal_4_white"
     25             android:key="network"
     26             android:title="@string/connectivity_network"
     27             android:fragment="com.android.tv.settings.connectivity.NetworkFragment" />
     28         <Preference
     29             android:icon="@drawable/ic_input"
     30             android:key="inputs"
     31             android:title="@string/system_inputs"
     32             android:fragment="com.android.tv.settings.system.InputsFragment" />
     33         <Preference
     34             android:icon="@drawable/ic_cast"
     35             android:key="cast"
     36             android:title="@string/system_cast" >
     37             <intent android:action="com.google.android.settings.CAST_RECEIVER_SETTINGS" />
     38         </Preference>
     39         <Preference
     40             android:icon="@drawable/ic_volume_up"
     41             android:key="sound_effects"
     42             android:title="@string/device_sound"
     43             android:fragment="com.android.tv.settings.device.sound.SoundFragment" />
     44         <Preference
     45             android:icon="@drawable/ic_adb"
     46             android:key="apps"
     47             android:title="@string/device_apps"
     48             android:fragment="com.android.tv.settings.device.apps.AppsFragment" />
     49         <Preference
     50             android:icon="@drawable/ic_settings_system_daydream"
     51             android:key="daydream"
     52             android:title="@string/device_daydream"
     53             android:fragment="com.android.tv.settings.device.display.daydream.DaydreamFragment" />
     54         <Preference
     55             android:icon="@drawable/ic_storage"
     56             android:key="storagereset"
     57             android:title="@string/device_storage_reset"
     58             android:fragment="com.android.tv.settings.device.StorageResetFragment" />
     59         <Preference
     60             android:icon="@drawable/ic_info_outline"
     61             android:key="about_device"
     62             android:title="@string/about_preference"
     63             android:fragment="com.android.tv.settings.about.AboutFragment" />
     64     </PreferenceCategory>
     65 
     66     <PreferenceCategory
     67         android:key="preferences"
     68         android:title="@string/header_category_preferences">
     69         <Preference
     70             android:icon="@drawable/ic_access_time"
     71             android:key="date_time"
     72             android:title="@string/system_date_time"
     73             android:fragment="com.android.tv.settings.system.DateTimeFragment" />
     74         <Preference
     75             android:icon="@drawable/ic_language"
     76             android:key="language"
     77             android:title="@string/system_language"
     78             android:fragment="com.android.tv.settings.system.LanguageFragment" />
     79         <Preference
     80             android:icon="@drawable/ic_keyboard"
     81             android:key="keyboard"
     82             android:title="@string/system_keyboard"
     83             android:fragment="com.android.tv.settings.inputmethod.KeyboardFragment" />
     84         <Preference
     85             android:icon="@drawable/ic_home"
     86             android:key="home"
     87             android:title="@string/system_home" >
     88             <intent android:action="com.google.android.tvlauncher.SETTINGS" />
     89         </Preference>
     90         <Preference
     91             android:icon="@drawable/ic_search"
     92             android:key="search"
     93             android:title="@string/system_search" >
     94             <intent android:action="android.search.action.SEARCH_SETTINGS" />
     95         </Preference>
     96         <Preference
     97             android:key="google_settings"
     98             android:title="@string/system_google" >
     99             <intent
    100                 android:action="com.google.assistant.GOOGLE_SETTINGS" />
    101         </Preference>
    102         <Preference
    103             android:icon="@drawable/ic_mic"
    104             android:key="speech"
    105             android:title="@string/system_speech" >
    106             <intent android:action="com.google.android.katniss.setting.SPEECH" />
    107         </Preference>
    108         <Preference
    109             android:icon="@drawable/ic_accessibility_new"
    110             android:key="accessibility"
    111             android:title="@string/system_accessibility"
    112             android:fragment="com.android.tv.settings.accessibility.AccessibilityFragment" />
    113         <Preference
    114             android:icon="@drawable/ic_settings_developeroptions"
    115             android:key="developer"
    116             android:title="@string/system_developer_options"
    117             android:fragment="com.android.tv.settings.system.development.DevelopmentFragment" />
    118     </PreferenceCategory>
    119     <PreferenceCategory
    120         android:key="accessories"
    121         android:title="@string/header_category_accessories">
    122         <Preference
    123             android:icon="@drawable/ic_bluetooth"
    124             android:key="add_accessory"
    125             android:title="@string/accessories_add">
    126             <intent
    127                 android:targetClass="com.android.tv.settings.accessories.AddAccessoryActivity"
    128                 android:targetPackage="com.android.tv.settings" />
    129         </Preference>
    130     </PreferenceCategory>
    131 
    132     <PreferenceCategory
    133         android:key="personal"
    134         android:title="@string/header_category_personal">
    135         <Preference
    136             android:icon="@drawable/ic_location_on"
    137             android:key="location"
    138             android:title="@string/system_location"
    139             android:fragment="com.android.tv.settings.system.LocationFragment" />
    140         <Preference
    141             android:icon="@drawable/ic_lock"
    142             android:key="security"
    143             android:title="@string/system_security"
    144             android:fragment="com.android.tv.settings.system.SecurityFragment" />
    145         <Preference
    146             android:icon="@drawable/ic_timeline"
    147             android:key="usageAndDiag"
    148             android:title="@string/system_diagnostic" >
    149             <intent
    150                 android:action="com.google.android.gsf.notouch.USAGE_AND_DIAGNOSTICS_SETTING" />
    151         </Preference>
    152     </PreferenceCategory>
    153     <PreferenceCategory
    154         android:key="accounts"
    155         android:title="@string/accounts_category_title">
    156         <Preference
    157             android:icon="@drawable/ic_add"
    158             android:key="add_account"
    159             android:title="@string/add_account" >
    160             <intent
    161                 android:targetClass="com.google.android.gsf.pano.CreateOrAddAccountActivity"
    162                 android:targetPackage="com.google.android.gsf.pano" />
    163         </Preference>
    164     </PreferenceCategory>
    165 </PreferenceScreen>
    166