1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 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:custom="http://schemas.android.com/apk/res-auto" 20 android:title="@string/device_display_sound"> 21 <PreferenceCategory 22 android:key="display_category" 23 android:title="@string/display_category_title" /> 24 <Preference 25 android:fragment="com.android.tv.settings.device.displaysound.ResolutionSelectionFragment" 26 android:key="resolution_selection" 27 android:persistent="true" 28 android:title="@string/resolution_selection_title"/> 29 <Preference 30 android:key="font_scale" 31 android:title="@string/font_scale_settings_title" 32 android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragment" /> 33 <SwitchPreference 34 android:key="match_content_dynamic_range" 35 android:persistent="true" 36 android:title="@string/match_content_dynamic_range_title"/> 37 <Preference 38 android:fragment="com.android.tv.settings.device.displaysound.MatchContentFrameRateFragment" 39 android:key="match_content_frame_rate" 40 android:title="@string/match_content_frame_rate_title"/> 41 <Preference 42 android:key="advanced_display_settings" 43 android:title="@string/advanced_display_settings_title" 44 android:fragment="com.android.tv.settings.device.displaysound.AdvancedDisplayFragment" /> 45 <Preference 46 android:key="picture_vendor_settings" 47 android:title="@string/picture_settings_title" 48 custom:isPreferenceVisible="false"> 49 <intent 50 android:action="@string/picture_settings_vendor_action" /> 51 </Preference> 52 <PreferenceCategory 53 android:key="sound_category" 54 android:title="@string/device_sound" /> 55 <Preference 56 android:key="advanced_sound_settings" 57 android:title="@string/advanced_sound_settings_title" 58 android:fragment="com.android.tv.settings.device.displaysound.AdvancedVolumeFragment" /> 59 <Preference 60 android:key="sound_vendor_settings" 61 android:title="@string/sound_settings_title" 62 custom:isPreferenceVisible="false"> 63 <intent 64 android:action="@string/sound_settings_vendor_action" /> 65 </Preference> 66</PreferenceScreen> 67