fix: 引入Settings的Module
This commit is contained in:
69
Settings/res/xml/user_aspect_ratio_details.xml
Normal file
69
Settings/res/xml/user_aspect_ratio_details.xml
Normal file
@@ -0,0 +1,69 @@
|
||||
<?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" />
|
||||
|
||||
<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>
|
||||
Reference in New Issue
Block a user