Files
app_Settings/res/xml/input_touchpad_three_finger_tap_action.xml
yyalan 5a07819dae Make the app launching pref a radio button (1/N)
When clicking on the app launching radio, open an app list and launch the chosen app

Bug: 420860815
Flag: com.android.settings.flags.three_finger_tap_app_launch
Test: In follow-up CLs
Change-Id: Id4bf5e0c8f682b28cfda4ffe12eab65835691fcc
2025-06-23 11:42:39 +00:00

50 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2025 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:key="input_touchpad_three_finger_tap"
android:persistent="false"
android:title="@string/three_finger_tap_preference_title">
<com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="middle_click"
android:title="@string/three_finger_tap_middle_click"
settings:controller="com.android.settings.inputmethod.TouchpadThreeFingerTapActionPreferenceController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="launch_gemini"
android:title="@string/three_finger_tap_launch_gemini"
settings:controller="com.android.settings.inputmethod.TouchpadThreeFingerTapActionPreferenceController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="go_home"
android:title="@string/three_finger_tap_go_home"
settings:controller="com.android.settings.inputmethod.TouchpadThreeFingerTapActionPreferenceController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="go_back"
android:title="@string/three_finger_tap_go_back"
settings:controller="com.android.settings.inputmethod.TouchpadThreeFingerTapActionPreferenceController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="recent_apps"
android:title="@string/three_finger_tap_recent_apps"
settings:controller="com.android.settings.inputmethod.TouchpadThreeFingerTapActionPreferenceController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="launch_app"
android:title="@string/three_finger_tap_launch_app_title"
settings:controller="com.android.settings.inputmethod.TouchpadThreeFingerTapActionPreferenceController"/>
</PreferenceScreen>