tutorial from SUW. Also fix how Fragments are displayed (Fragment Views were being inflated incorrectly causing bugs like the one where TB would still see the hub elements on child screens) and remove ripple from non-selectable text. Bug: 27203716 Bug: 27218687 Bug: 27066012 Bug: 27587193 Change-Id: I4c6724b3ff6d6a7fca3d0f419a5e1c82ee1071d5
53 lines
2.1 KiB
XML
53 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 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"
|
|
android:title="@string/vision_settings_title"
|
|
android:persistent="true" >
|
|
|
|
<Preference
|
|
android:key="vision_settings_summary"
|
|
android:title="@string/vision_settings_description"
|
|
android:layout="@layout/preference_multiline_title"
|
|
android:selectable="false" />
|
|
|
|
<Preference
|
|
android:fragment=
|
|
"com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragment"
|
|
android:key="screen_magnification_preference"
|
|
android:title="@string/accessibility_screen_magnification_title"
|
|
android:summary="@string/accessibility_screen_magnification_short_summary" />
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
|
|
android:key="font_size_preference"
|
|
android:title="@string/title_font_size"
|
|
android:summary="@string/short_summary_font_size" />
|
|
|
|
<com.android.settings.display.ScreenZoomPreference
|
|
android:key="force_density_preference"
|
|
android:title="@string/screen_zoom_title"
|
|
android:summary="@string/screen_zoom_short_summary" />
|
|
|
|
<Preference
|
|
android:fragment=
|
|
"com.android.settings.accessibility.ToggleAccessibilityServicePreferenceFragment"
|
|
android:key="screen_reader_preference"
|
|
android:summary="@string/talkback_summary"
|
|
android:persistent="true" />
|
|
|
|
</PreferenceScreen>
|