Files
app_Settings/res/xml/user_aspect_ratio_details.xml
Graciela Wissen Putri a0f573a35e Follow config overlay's order of aspect ratio options
Fix flaky UserAspectRatioAppsPageProviderTest by using advanceUntilIdle
to make sure all coroutines are finished before asserting.

Bug: 325911424
Test: atest UserAspectRatioDetailsTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:32815ad699448c5c5b1f38df6d2d2a881d4251c1)
Merged-In: I83e9a7f31536c1a006789722b0310f3364d14337
Change-Id: I83e9a7f31536c1a006789722b0310f3364d14337
2024-03-05 17:11:59 +00:00

71 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2023 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:title="@string/aspect_ratio_experimental_title">
<com.android.settingslib.widget.TopIntroPreference
android:key="app_aspect_ratio_summary"
android:order="-1001"
android:title="@string/summary_placeholder"
settings:searchable="false"/>
<com.android.settingslib.widget.ActionButtonsPreference
android:key="header_view"
android:order="-999"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="app_default_pref"
android:title="@string/user_aspect_ratio_app_default"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="fullscreen_pref"
android:title="@string/user_aspect_ratio_fullscreen"
android:icon="@drawable/ic_app_aspect_ratio_fullscreen"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="half_screen_pref"
android:title="@string/user_aspect_ratio_half_screen"
android:icon="@drawable/ic_app_aspect_ratio_half_screen"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="display_size_pref"
android:title="@string/user_aspect_ratio_device_size"
android:icon="@drawable/ic_app_aspect_ratio_display_size"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="16_9_pref"
android:icon="@drawable/ic_app_aspect_ratio_16_9"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="4_3_pref"
android:icon="@drawable/ic_app_aspect_ratio_4_3"/>
<com.android.settings.applications.appcompat.RadioWithImagePreference
android:key="3_2_pref"
android:icon="@drawable/ic_app_aspect_ratio_3_2"/>
<com.android.settingslib.widget.FooterPreference
android:title="@string/app_aspect_ratio_footer"
android:selectable="false"
settings:searchable="false"/>
</PreferenceScreen>