1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2022 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:title="@string/trackpad_settings"> 22 <Preference 23 android:key="trackpad_gesture_settings" 24 android:title="@string/trackpad_touchpad_gesture_title" 25 android:summary="@string/trackpad_touchpad_gesture_summary" 26 android:order="-10" 27 android:fragment="com.android.settings.inputmethod.TrackpadTouchGestureSettings" 28 settings:controller="com.android.settings.inputmethod.TrackpadTouchGestureSettingsController"/> 29 30 <SwitchPreferenceCompat 31 android:key="trackpad_tap_to_click" 32 android:title="@string/trackpad_tap_to_click" 33 settings:controller="com.android.settings.inputmethod.TrackpadTapToClickPreferenceController" 34 android:order="10"/> 35 36 <SwitchPreferenceCompat 37 android:key="trackpad_reverse_scrolling" 38 android:title="@string/trackpad_reverse_scrolling_title" 39 android:summary="@string/trackpad_reverse_scrolling_summary" 40 settings:controller="com.android.settings.inputmethod.TrackpadReverseScrollingPreferenceController" 41 android:order="20"/> 42 43 <SwitchPreferenceCompat 44 android:key="trackpad_bottom_right_tap" 45 android:title="@string/trackpad_bottom_right_tap_title" 46 android:summary="@string/trackpad_bottom_right_tap_summary" 47 settings:controller="com.android.settings.inputmethod.TrackpadBottomPreferenceController" 48 android:order="30" 49 settings:keywords="@string/keywords_trackpad_bottom_right_tap"/> 50 51 <SwitchPreferenceCompat 52 android:key="trackpad_tap_dragging" 53 android:title="@string/trackpad_tap_dragging_title" 54 android:summary="@string/trackpad_tap_dragging_summary" 55 settings:controller="com.android.settings.inputmethod.TrackpadTapDraggingPreferenceController" 56 android:order="35"/> 57 58 <com.android.settings.widget.SeekBarPreference 59 android:key="trackpad_pointer_speed" 60 android:title="@string/trackpad_pointer_speed" 61 android:order="40" 62 android:selectable="false" 63 settings:controller="com.android.settings.inputmethod.TrackpadPointerSpeedPreferenceController"/> 64 65 <com.android.settings.inputmethod.PointerFillStylePreference 66 android:key="pointer_fill_style" 67 android:title="@string/pointer_fill_style" 68 android:order="50" 69 android:dialogTitle="@string/pointer_fill_style" 70 settings:controller="com.android.settings.inputmethod.PointerFillStylePreferenceController"/> 71 72 <com.android.settingslib.widget.ButtonPreference 73 android:key="trackpad_touch_gesture" 74 android:title="@string/trackpad_touch_gesture" 75 settings:controller="com.android.settings.inputmethod.TouchGesturesButtonPreferenceController"/> 76</PreferenceScreen> 77