1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4
5  Copyright (C) 2021 The Android Open Source Project
6  Licensed under the Apache License, Version 2.0 (the "License");
7  you may not use this file except in compliance with the License.
8  You may obtain a copy of the License at
9       http://www.apache.org/licenses/LICENSE-2.0
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15-->
16
17<PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:key="button_navigation_settings_page"
21    android:title="@string/button_navigation_settings_activity_title"
22    settings:keywords="@string/keywords_button_navigation_settings">
23
24    <!-- Animation uses embedded PNGs and lottie requires asset folder to be set despite
25     embedding. -->
26    <com.android.settingslib.widget.IllustrationPreference
27        android:key="gesture_power_menu_video"
28        settings:searchable="false"
29        settings:dynamicColor="true"
30        settings:lottie_imageAssetsFolder="button_nav_menu"
31        settings:lottie_rawRes="@raw/lottie_button_nav_menu"
32        settings:controller="com.android.settings.gestures.ButtonNavigationSettingsAssistController"/>
33
34    <SwitchPreferenceCompat
35        android:key="assistant_long_press_home_gesture"
36        android:title="@string/assistant_long_press_home_gesture_title"
37        android:summary="@string/assistant_long_press_home_gesture_summary"
38        settings:controller="com.android.settings.gestures.ButtonNavigationSettingsAssistController"
39    />
40
41</PreferenceScreen>
42
43