Sync texts and preferences arrangement in Touchpad and Mouse related pages. Bug: 377602364 Test: atest SettingsRoboTests Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled Change-Id: I64179cc1a6ab1080160923c2d7d861537991ef97
68 lines
3.0 KiB
XML
68 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2024 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:title="@string/mouse_settings">
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_swap_primary_button"
|
|
android:title="@string/mouse_swap_primary_button"
|
|
android:summary="@string/mouse_swap_primary_button_summary"
|
|
settings:controller="com.android.settings.inputmethod.MouseSwapPrimaryButtonPreferenceController" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_reverse_vertical_scrolling"
|
|
android:title="@string/mouse_reverse_vertical_scrolling"
|
|
android:summary="@string/mouse_reverse_vertical_scrolling_summary"
|
|
settings:controller="com.android.settings.inputmethod.MouseReverseVerticalScrollingPreferenceController" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_swap_primary_button"
|
|
android:title="@string/mouse_swap_primary_button"
|
|
android:summary="@string/mouse_swap_primary_button_summary"
|
|
settings:controller="com.android.settings.inputmethod.MouseSwapPrimaryButtonPreferenceController" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_pointer_acceleration"
|
|
android:title="@string/mouse_pointer_acceleration"
|
|
android:summary="@string/mouse_pointer_acceleration_summary"
|
|
settings:controller="com.android.settings.inputmethod.MousePointerAccelerationPreferenceController" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_scrolling_acceleration"
|
|
android:title="@string/mouse_scrolling_acceleration"
|
|
settings:controller="com.android.settings.inputmethod.MouseScrollingAccelerationPreferenceController" />
|
|
|
|
<com.android.settings.widget.SeekBarPreference
|
|
android:key="trackpad_pointer_speed"
|
|
android:title="@string/trackpad_pointer_speed"
|
|
android:order="40"
|
|
android:selectable="false"
|
|
settings:controller="com.android.settings.inputmethod.TrackpadPointerSpeedPreferenceController"/>
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.inputmethod.PointerTouchpadFragment"
|
|
android:key="accessibility_pointer_and_touchpad"
|
|
android:order="50"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_pointer_and_touchpad_title"
|
|
android:summary="@string/accessibility_pointer_and_touchpad_summary"
|
|
settings:searchable="true"/>
|
|
</PreferenceScreen>
|