fix: 引入Settings的Module
This commit is contained in:
66
Settings/res/xml/accessibility_text_reading_options.xml
Normal file
66
Settings/res/xml/accessibility_text_reading_options.xml
Normal file
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 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"
|
||||
android:persistent="false"
|
||||
android:title="@string/accessibility_text_reading_options_title">
|
||||
|
||||
<com.android.settings.accessibility.TextReadingPreviewPreference
|
||||
android:key="preview"
|
||||
android:selectable="false"/>
|
||||
|
||||
<com.android.settings.widget.LabeledSeekBarPreference
|
||||
android:key="font_size"
|
||||
android:summary="@string/short_summary_font_size"
|
||||
android:title="@string/title_font_size"
|
||||
settings:iconEnd="@drawable/ic_add_24dp"
|
||||
settings:iconEndContentDescription="@string/font_size_make_larger_desc"
|
||||
settings:iconStart="@drawable/ic_remove_24dp"
|
||||
settings:iconStartContentDescription="@string/font_size_make_smaller_desc"
|
||||
settings:keywords="@string/keywords_font_size" />
|
||||
|
||||
<com.android.settings.widget.LabeledSeekBarPreference
|
||||
android:key="display_size"
|
||||
android:summary="@string/screen_zoom_short_summary"
|
||||
android:title="@string/screen_zoom_title"
|
||||
settings:iconEnd="@drawable/ic_add_24dp"
|
||||
settings:iconEndContentDescription="@string/screen_zoom_make_larger_desc"
|
||||
settings:iconStart="@drawable/ic_remove_24dp"
|
||||
settings:iconStartContentDescription="@string/screen_zoom_make_smaller_desc"
|
||||
settings:keywords="@string/keywords_display_size" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="toggle_force_bold_text"
|
||||
android:persistent="false"
|
||||
android:title="@string/force_bold_text"
|
||||
settings:controller=
|
||||
"com.android.settings.accessibility.FontWeightAdjustmentPreferenceController"
|
||||
settings:keywords="@string/keywords_bold_text" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="toggle_high_text_contrast_preference"
|
||||
android:persistent="false"
|
||||
android:summary="@string/accessibility_toggle_high_text_contrast_preference_summary"
|
||||
android:title="@string/accessibility_toggle_high_text_contrast_preference_title" />
|
||||
|
||||
<com.android.settings.accessibility.TextReadingResetPreference
|
||||
android:key="reset"
|
||||
android:persistent="false"
|
||||
android:selectable="false" />
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user