Files
app_Settings/res/xml/system_navigation_gesture_settings.xml
Andy Wickham 9f9571a078 Move Contextual Search setting to AOSP.
This only appears if the correpsonding system feature is enabled.

Bug: 353715553
Test: Manual
Flag: EXEMPT moving code from vendor to aosp
Change-Id: Ib19db6345b907500dfe3d53c36700df428c0171e
2024-10-09 18:32:21 +00:00

34 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 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/system_navigation_title"
settings:keywords="@string/keywords_system_navigation">
<SwitchPreferenceCompat
android:key="search_gesture_press_hold"
android:title="@string/search_gesture_feature_title"
android:summary="@string/search_gesture_feature_summary"
android:order="100"
settings:allowDividerAbove="true"
settings:controller="com.android.settings.gestures.NavigationSettingsContextualSearchController"
settings:highlightableMenuKey="@string/menu_key_system" />
</PreferenceScreen>