Update seekbars color and style. Bug: 374030364 Bug: 399285693 Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ Change-Id: I251a7241b614114a5bb9d5090fcd22cb873ebc51
74 lines
3.1 KiB
XML
74 lines
3.1 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_pointer_acceleration"
|
|
android:title="@string/mouse_pointer_acceleration"
|
|
android:summary="@string/mouse_pointer_acceleration_summary"
|
|
android:order="10"
|
|
settings:controller="com.android.settings.inputmethod.MousePointerAccelerationPreferenceController" />
|
|
|
|
<com.android.settings.widget.LabeledSeekBarPreference
|
|
android:key="pointer_speed"
|
|
android:title="@string/pointer_speed"
|
|
android:order="20"
|
|
android:selectable="false"
|
|
settings:controller="com.android.settings.inputmethod.MousePointerSpeedPreferenceController"/>
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_swap_primary_button"
|
|
android:title="@string/mouse_swap_primary_button"
|
|
android:summary="@string/mouse_swap_primary_button_summary"
|
|
android:order="30"
|
|
settings:controller="com.android.settings.inputmethod.MouseSwapPrimaryButtonPreferenceController" />
|
|
|
|
<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"/>
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_reverse_vertical_scrolling"
|
|
android:order="52"
|
|
android:title="@string/mouse_reverse_vertical_scrolling"
|
|
android:summary="@string/mouse_reverse_vertical_scrolling_summary"
|
|
settings:controller="com.android.settings.inputmethod.MouseReverseVerticalScrollingPreferenceController" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:order="55"
|
|
android:key="mouse_scrolling_acceleration"
|
|
android:title="@string/mouse_scrolling_acceleration"
|
|
settings:controller="com.android.settings.inputmethod.MouseScrollingAccelerationPreferenceController" />
|
|
|
|
<com.android.settings.widget.LabeledSeekBarPreference
|
|
android:key="mouse_scrolling_speed"
|
|
android:title="@string/mouse_scrolling_speed"
|
|
android:order="60"
|
|
android:selectable="false"
|
|
settings:controller="com.android.settings.inputmethod.MouseScrollingSpeedPreferenceController"/>
|
|
|
|
</PreferenceScreen>
|