• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
33    <com.android.settings.applications.appcompat.RadioWithImagePreference
34        android:key="app_default_pref"
35        android:title="@string/user_aspect_ratio_app_default"/>
36
37    <com.android.settings.applications.appcompat.RadioWithImagePreference
38        android:key="fullscreen_pref"
39        android:title="@string/user_aspect_ratio_fullscreen"
40        android:icon="@drawable/ic_app_aspect_ratio_fullscreen"/>
41
42    <com.android.settings.applications.appcompat.RadioWithImagePreference
43        android:key="half_screen_pref"
44        android:title="@string/user_aspect_ratio_half_screen"
45        android:icon="@drawable/ic_app_aspect_ratio_half_screen"/>
46
47    <com.android.settings.applications.appcompat.RadioWithImagePreference
48        android:key="display_size_pref"
49        android:title="@string/user_aspect_ratio_device_size"
50        android:icon="@drawable/ic_app_aspect_ratio_display_size"/>
51
52    <com.android.settings.applications.appcompat.RadioWithImagePreference
53        android:key="16_9_pref"
54        android:icon="@drawable/ic_app_aspect_ratio_16_9"/>
55
56    <com.android.settings.applications.appcompat.RadioWithImagePreference
57        android:key="4_3_pref"
58        android:icon="@drawable/ic_app_aspect_ratio_4_3"/>
59
60    <com.android.settings.applications.appcompat.RadioWithImagePreference
61        android:key="3_2_pref"
62        android:icon="@drawable/ic_app_aspect_ratio_3_2"/>
63
64    <com.android.settingslib.widget.FooterPreference
65        android:title="@string/app_aspect_ratio_footer"
66        android:selectable="false"
67        settings:searchable="false"/>
68
69</PreferenceScreen>
70