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 xmlns:app="http://schemas.android.com/apk/res-auto"> 20 <CheckBoxPreference 21 android:key="show_input" 22 android:persistent="true" 23 android:title="@string/inputs_show" /> 24 <PreferenceCategory 25 android:key="names" 26 android:title="@string/input_header_names" 27 android:layout="@layout/preference_category_compact_layout"> 28 <com.android.tv.settings.RadioPreference 29 android:key="name_default" 30 android:persistent="true" 31 app:radioGroup="name"/> 32 <com.android.tv.settings.RadioPreference 33 android:key="name_blu_ray" 34 android:persistent="true" 35 app:radioGroup="name" 36 android:title="@string/inputs_blu_ray" /> 37 <com.android.tv.settings.RadioPreference 38 android:key="name_cable" 39 android:persistent="true" 40 app:radioGroup="name" 41 android:title="@string/inputs_cable" /> 42 <com.android.tv.settings.RadioPreference 43 android:key="name_dvd" 44 android:persistent="true" 45 app:radioGroup="name" 46 android:title="@string/inputs_dvd" /> 47 <com.android.tv.settings.RadioPreference 48 android:key="name_game" 49 android:persistent="true" 50 app:radioGroup="name" 51 android:title="@string/inputs_game" /> 52 <com.android.tv.settings.RadioPreference 53 android:key="name_aux" 54 android:persistent="true" 55 app:radioGroup="name" 56 android:title="@string/inputs_aux" /> 57 <com.android.tv.settings.RadioPreference 58 android:key="name_custom" 59 android:persistent="true" 60 app:radioGroup="name" 61 android:title="@string/inputs_custom_name" 62 android:fragment="com.android.tv.settings.system.InputCustomNameFragment" /> 63 </PreferenceCategory> 64</PreferenceScreen> 65