Files
app_Settings/res/xml/accessibility_cursor_settings.xml
Lauren Winston 28b4b34f92 Add toggles for two Software Cursor settings: keyboard shift and trigger
hints.

Bug: 242218807
Test: atest SoftwareCursorKeyboardShiftPreferenceControllerTest and
SoftwareCursorTriggerHintsPreferenceControllerTest

Change-Id: I872291ee90b54842b237868a72d61b38efbfd886
2022-08-29 22:12:46 +00:00

36 lines
1.7 KiB
XML

<?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/accessibility_screen_software_cursor_title"
settings:searchable="false">
<com.android.settings.widget.SettingsMainSwitchPreference
android:key="screen_software_cursor_preference_switch"
android:title="@string/accessibility_screen_software_cursor_title"
settings:controller="com.android.settings.accessibility.SoftwareCursorTogglePreferenceController"/>
<SwitchPreference
android:key="cursor_trigger_hints_enabled"
android:title="@string/software_cursor_trigger_hints_enabled_title"
settings:controller="com.android.settings.accessibility.SoftwareCursorTriggerHintsPreferenceController"/>
<SwitchPreference
android:key="cursor_trigger_keyboard_shift_enabled"
android:title="@string/software_cursor_trigger_keyboard_shift_enabled_title"
settings:controller="com.android.settings.accessibility.SoftwareCursorKeyboardShiftPreferenceController"/>
</PreferenceScreen>