1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 xmlns:app="http://schemas.android.com/apk/res-auto" 22 android:title="@string/aspect_ratio_experimental_title"> 23 24 <com.android.settingslib.widget.TopIntroPreference 25 android:key="app_aspect_ratio_summary" 26 android:order="-1001" 27 android:title="@string/summary_placeholder" 28 settings:searchable="false"/> 29 30 <com.android.settingslib.widget.ActionButtonsPreference 31 android:key="header_view" 32 android:order="-999"/> 33 34 <com.android.settings.applications.appcompat.RadioWithImagePreference 35 android:key="app_default_pref" 36 android:title="@string/user_aspect_ratio_app_default"/> 37 38 <com.android.settings.applications.appcompat.RadioWithImagePreference 39 android:key="fullscreen_pref" 40 android:title="@string/user_aspect_ratio_fullscreen" 41 android:icon="@drawable/ic_app_aspect_ratio_fullscreen"/> 42 43 <com.android.settings.applications.appcompat.RadioWithImagePreference 44 android:key="half_screen_pref" 45 android:title="@string/user_aspect_ratio_half_screen" 46 android:icon="@drawable/ic_app_aspect_ratio_half_screen"/> 47 48 <com.android.settings.applications.appcompat.RadioWithImagePreference 49 android:key="display_size_pref" 50 android:title="@string/user_aspect_ratio_device_size" 51 android:icon="@drawable/ic_app_aspect_ratio_display_size"/> 52 53 <com.android.settings.applications.appcompat.RadioWithImagePreference 54 android:key="16_9_pref" 55 android:icon="@drawable/ic_app_aspect_ratio_16_9"/> 56 57 <com.android.settings.applications.appcompat.RadioWithImagePreference 58 android:key="4_3_pref" 59 android:icon="@drawable/ic_app_aspect_ratio_4_3"/> 60 61 <com.android.settings.applications.appcompat.RadioWithImagePreference 62 android:key="3_2_pref" 63 android:icon="@drawable/ic_app_aspect_ratio_3_2"/> 64 65 <com.android.settingslib.widget.FooterPreference 66 android:title="@string/app_aspect_ratio_footer" 67 android:selectable="false" 68 settings:searchable="false"/> 69 70</PreferenceScreen> 71