• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_info_outline"
30            android:key="about_device"
31            android:title="@string/about_preference"
32            android:fragment="com.android.tv.settings.about.AboutFragment" />
33    </PreferenceCategory>
34
35    <PreferenceCategory
36        android:key="preferences"
37        android:title="@string/header_category_preferences">
38        <Preference
39            android:icon="@drawable/ic_access_time"
40            android:key="date_time"
41            android:title="@string/system_date_time"
42            android:fragment="com.android.tv.settings.system.DateTimeFragment" />
43        <Preference
44            android:icon="@drawable/ic_language"
45            android:key="language"
46            android:title="@string/system_language"
47            android:fragment="com.android.tv.settings.system.LanguageFragment" />
48        <Preference
49            android:icon="@drawable/ic_keyboard"
50            android:key="keyboard"
51            android:title="@string/system_keyboard"
52            android:fragment="com.android.tv.settings.inputmethod.KeyboardFragment" />
53        <Preference
54            android:icon="@drawable/ic_home"
55            android:key="home"
56            android:title="@string/system_home" >
57            <intent android:action="com.google.android.leanbacklauncher.SETTINGS" />
58        </Preference>
59        <Preference
60            android:icon="@drawable/ic_search"
61            android:key="search"
62            android:title="@string/system_search" >
63            <intent android:action="android.search.action.SEARCH_SETTINGS" />
64        </Preference>
65        <Preference
66            android:key="google_settings"
67            android:title="@string/system_google" >
68            <intent
69                android:action="com.google.assistant.GOOGLE_SETTINGS" />
70        </Preference>
71        <Preference
72            android:icon="@drawable/ic_mic"
73            android:key="speech"
74            android:title="@string/system_speech" >
75            <intent android:action="com.google.android.katniss.setting.SPEECH" />
76        </Preference>
77        <Preference
78            android:icon="@drawable/ic_accessibility_new"
79            android:key="accessibility"
80            android:title="@string/system_accessibility"
81            android:fragment="com.android.tv.settings.system.AccessibilityFragment" />
82    </PreferenceCategory>
83
84    <PreferenceCategory
85        android:key="accessories"
86        android:title="@string/header_category_accessories">
87        <Preference
88            android:icon="@drawable/ic_bluetooth"
89            android:key="add_accessory"
90            android:title="@string/accessories_add">
91            <intent
92                android:targetClass="com.android.tv.settings.accessories.AddAccessoryActivity"
93                android:targetPackage="com.android.tv.settings" />
94        </Preference>
95    </PreferenceCategory>
96    <PreferenceCategory
97        android:key="personal"
98        android:title="@string/header_category_personal">
99        <Preference
100            android:icon="@drawable/ic_location_on"
101            android:key="location"
102            android:title="@string/system_location"
103            android:fragment="com.android.tv.settings.system.LocationFragment" />
104        <Preference
105            android:icon="@drawable/ic_lock"
106            android:key="security"
107            android:title="@string/system_security"
108            android:fragment="com.android.tv.settings.system.SecurityFragment" />
109    </PreferenceCategory>
110</PreferenceScreen>
111