| <?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:title="@string/trackpad_touchpad_gesture_title"> |
| <SwitchPreference |
| android:key="gesture_go_back" |
| android:title="@string/trackpad_go_back_title" |
| android:summary="@string/trackpad_go_back_summary" |
| android:icon="@drawable/ic_trackpad_gesture_back" |
| android:order="10" |
| settings:controller="com.android.settings.inputmethod.TrackpadGoBackPreferenceController"/> |
| |
| <SwitchPreference |
| android:key="gesture_go_home" |
| android:title="@string/trackpad_go_home_title" |
| android:summary="@string/trackpad_go_home_summary" |
| android:icon="@drawable/ic_trackpad_gesture_home" |
| android:order="20" |
| settings:controller="com.android.settings.inputmethod.TrackpadGoHomePreferenceController"/> |
| |
| <SwitchPreference |
| android:key="gesture_recent_apps" |
| android:title="@string/trackpad_recent_apps_title" |
| android:summary="@string/trackpad_recent_apps_summary" |
| android:icon="@drawable/ic_trackpad_gesture_recent_apps" |
| android:order="30" |
| settings:controller="com.android.settings.inputmethod.TrackpadRecentAppsPreferenceController"/> |
| |
| <SwitchPreference |
| android:key="gesture_notifications" |
| android:title="@string/trackpad_notifications_title" |
| android:summary="@string/trackpad_notifications_summary" |
| android:icon="@drawable/ic_trackpad_gesture_notifications" |
| android:order="40" |
| settings:controller="com.android.settings.inputmethod.TrackpadNotificationsPreferenceController"/> |
| |
| <SwitchPreference |
| android:key="gesture_switch_apps" |
| android:title="@string/trackpad_switch_apps_title" |
| android:summary="@string/trackpad_switch_apps_summary" |
| android:icon="@drawable/ic_trackpad_gesture_switch_apps" |
| android:order="50" |
| settings:controller="com.android.settings.inputmethod.TrackpadSwitchAppsPreferenceController"/> |
| |
| <com.android.settingslib.widget.ButtonPreference |
| android:key="trackpad_touch_gesture_developer_mode" |
| android:title="@string/trackpad_touch_gesture" |
| android:icon="@drawable/ic_trackpad_touch_gestures_inverse" |
| android:order="100" |
| settings:controller="com.android.settings.inputmethod.TouchGesturesButtonPreferenceController"/> |
| </PreferenceScreen> |