1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2018 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/device_pref_category_title"> 20 <Preference 21 android:fragment="com.android.tv.settings.about.AboutFragment" 22 android:icon="@drawable/ic_info_outline" 23 android:key="about_device" 24 android:title="@string/about_preference"/> 25 <Preference 26 android:fragment="com.android.tv.settings.system.DateTimeFragment" 27 android:icon="@drawable/ic_access_time" 28 android:key="date_time" 29 android:title="@string/system_date_time"/> 30 <Preference 31 android:fragment="com.android.tv.settings.system.LanguageFragment" 32 android:icon="@drawable/ic_language" 33 android:key="language" 34 android:title="@string/system_language"/> 35 <Preference 36 android:fragment="com.android.tv.settings.inputmethod.KeyboardFragment" 37 android:icon="@drawable/ic_keyboard" 38 android:key="keyboard" 39 android:title="@string/system_keyboard"/> 40 <Preference 41 android:fragment="com.android.tv.settings.device.sound.SoundFragment" 42 android:icon="@drawable/ic_volume_up" 43 android:key="sound_effects" 44 android:title="@string/device_sound"/> 45 <Preference 46 android:fragment="com.android.tv.settings.device.StorageSummaryFragment" 47 android:icon="@drawable/ic_storage" 48 android:key="storage" 49 android:title="@string/device_storage"/> 50 <Preference 51 android:icon="@drawable/ic_home" 52 android:key="home" 53 android:title="@string/system_home"> 54 <intent android:action="com.google.android.tvlauncher.SETTINGS"/> 55 </Preference> 56 <Preference 57 android:key="google_settings" 58 android:title="@string/system_google"> 59 <intent 60 android:action="com.google.assistant.GOOGLE_SETTINGS"/> 61 </Preference> 62 <Preference 63 android:icon="@drawable/ic_cast" 64 android:key="cast" 65 android:title="@string/system_cast" > 66 <intent android:action="com.google.android.settings.CAST_RECEIVER_SETTINGS" /> 67 </Preference> 68 <Preference 69 android:fragment="com.android.tv.settings.device.display.daydream.DaydreamFragment" 70 android:icon="@drawable/ic_settings_system_daydream" 71 android:key="daydream" 72 android:title="@string/device_daydream"/> 73 <Preference 74 android:fragment="com.android.tv.settings.system.development.DevelopmentFragment" 75 android:icon="@drawable/ic_settings_developeroptions" 76 android:key="developer" 77 android:title="@string/system_developer_options"/> 78 <Preference 79 android:fragment="com.android.tv.settings.system.LocationFragment" 80 android:icon="@drawable/ic_location_on" 81 android:key="location" 82 android:title="@string/system_location"/> 83 <Preference 84 android:icon="@drawable/ic_timeline" 85 android:key="usageAndDiag" 86 android:title="@string/system_diagnostic"> 87 <intent 88 android:action="com.google.android.settings.USAGE_AND_DIAGNOSTICS_SETTING"/> 89 </Preference> 90 <Preference 91 android:fragment="com.android.tv.settings.system.SecurityFragment" 92 android:icon="@drawable/ic_lock" 93 android:key="security" 94 android:title="@string/system_security"/> 95 <Preference 96 android:fragment="com.android.tv.settings.accessibility.AccessibilityFragment" 97 android:icon="@drawable/ic_accessibility_new" 98 android:key="accessibility" 99 android:title="@string/system_accessibility"/> 100 <Preference 101 android:icon="@drawable/ic_reset" 102 android:key="reset" 103 android:title="@string/device_reset"> 104 <intent 105 android:targetClass="com.android.tv.settings.device.storage.ResetActivity" 106 android:targetPackage="com.android.tv.settings"/> 107 </Preference> 108</PreferenceScreen>