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 22 <com.android.tv.twopanelsettings.slices.SlicePreference 23 android:key="cec" 24 android:title="@string/hdmi_cec_settings_title" 25 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 26 custom:uri="@string/cec_settings_slice_uri" 27 custom:isPreferenceVisible="false" /> 28 <PreferenceCategory 29 android:key="display_category" 30 android:title="@string/display_category_title" /> 31 <com.android.tv.twopanelsettings.slices.EmbeddedSlicePreference 32 android:key="display_resolution" 33 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 34 custom:uri="@string/resolution_slice_uri" 35 custom:isPreferenceVisible="false" /> 36 <Preference 37 android:key="font_scale" 38 android:title="@string/font_scale_settings_title" 39 android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragment" /> 40 <com.android.tv.twopanelsettings.slices.EmbeddedSlicePreference 41 android:key="hdr_and_color_format" 42 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 43 custom:uri="@string/hdr_and_color_format_slice_uri" 44 custom:isPreferenceVisible="false" /> 45 <Preference 46 android:fragment="com.android.tv.settings.device.displaysound.MatchContentFrameRateFragment" 47 android:key="match_content_frame_rate" 48 android:title="@string/match_content_frame_rate_title"/> 49 <Preference 50 android:key="advanced_display_settings" 51 android:title="@string/advanced_display_settings_title" 52 android:fragment="com.android.tv.settings.device.displaysound.AdvancedDisplayFragment" /> 53 <PreferenceCategory 54 android:key="sound_category" 55 android:title="@string/device_sound" /> 56 <com.android.tv.settings.widget.SwitchWithSoundPreference 57 android:key="sound_effects" 58 android:persistent="true" 59 android:title="@string/device_sound_effects"/> 60 <Preference 61 android:key="advanced_sound_settings" 62 android:title="@string/advanced_sound_settings_title" 63 android:fragment="com.android.tv.settings.device.displaysound.AdvancedVolumeFragment" /> 64</PreferenceScreen> 65