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        <com.android.tv.settings.RadioPreference
28            android:key="name_default"
29            android:persistent="true"
30            app:radioGroup="name"/>
31        <com.android.tv.settings.RadioPreference
32            android:key="name_blu_ray"
33            android:persistent="true"
34            app:radioGroup="name"
35            android:title="@string/inputs_blu_ray" />
36        <com.android.tv.settings.RadioPreference
37            android:key="name_cable"
38            android:persistent="true"
39            app:radioGroup="name"
40            android:title="@string/inputs_cable" />
41        <com.android.tv.settings.RadioPreference
42            android:key="name_dvd"
43            android:persistent="true"
44            app:radioGroup="name"
45            android:title="@string/inputs_dvd" />
46        <com.android.tv.settings.RadioPreference
47            android:key="name_game"
48            android:persistent="true"
49            app:radioGroup="name"
50            android:title="@string/inputs_game" />
51        <com.android.tv.settings.RadioPreference
52            android:key="name_aux"
53            android:persistent="true"
54            app:radioGroup="name"
55            android:title="@string/inputs_aux" />
56        <com.android.tv.settings.RadioPreference
57            android:key="name_custom"
58            android:persistent="true"
59            app:radioGroup="name"
60            android:title="@string/inputs_custom_name"
61            android:fragment="com.android.tv.settings.system.InputCustomNameFragment" />
62    </PreferenceCategory>
63</PreferenceScreen>
64