Files
packages_apps_Settings/res/xml/three_finger_swipe.xml
rmp22 a029301c3a Settings: add three finger swipe actions/screenshot combo intercept
Change-Id: I605bdf2e5f975edef7a4865ded35345a085799a7
2025-12-10 00:41:34 +09:00

50 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 AxionOS 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/com.android.settings"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:title="@string/nt_gesture_three_finger_swipe" >
<com.android.settingslib.widget.IllustrationPreference
android:key="gesture_screenshot_video"
settings:lottie_rawRes="@raw/lottie_gesture_screenshot"
settings:searchable="false"/>
<org.evolution.settings.preferences.SecureSettingListPreference
android:key="nothing_three_finger_screenshot"
android:title="@string/nt_gesture_three_finger_swipe"
android:summary="%s"
android:dialogTitle="@string/three_finger_gesture_action_dialog_title"
android:entries="@array/gesture_actions_entries"
android:entryValues="@array/gesture_actions_values"
android:defaultValue="0" />
<org.evolution.settings.preferences.SecureSettingSwitchPreference
android:key="nothing_three_finger_long_press"
android:title="@string/nt_gesture_three_finger_long_press"
android:summary="@string/nt_gesture_three_finger_long_press_summary"
android:defaultValue="false" />
<org.evolution.settings.preferences.SecureSettingSwitchPreference
android:key="nt_disable_combination_screenshot"
android:title="@string/nt_combination_power_volume_click"
android:summary="@string/nt_combination_power_volume_click_summary"
android:defaultValue="false" />
</PreferenceScreen>