blob: e9eeb3adafaedea1465b9da89a49b9269cc340ce [file] [log] [blame]
Fan Zhangb99ea902016-11-08 13:52:58 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2016 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17
Fan Zhang823dde52017-10-26 15:56:41 -070018<PreferenceScreen
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res-auto"
Fan Zhang823dde52017-10-26 15:56:41 -070021 android:title="@string/ambient_display_title">
Fan Zhang33b0d912016-11-09 11:35:10 -080022
23 <com.android.settings.widget.VideoPreference
24 android:key="gesture_double_tap_screen_video"
25 app:animation="@raw/gesture_ambient_tap"
Fan Zhang823dde52017-10-26 15:56:41 -070026 app:preview="@drawable/gesture_ambient_tap" />
Fan Zhangb99ea902016-11-08 13:52:58 -080027
28 <SwitchPreference
29 android:key="gesture_double_tap_screen"
30 android:title="@string/ambient_display_title"
Fan Zhang82be5f02017-05-23 10:46:54 -070031 android:summary="@string/ambient_display_summary"
HJ ChangLiao3c4c3fc2018-04-02 17:06:55 +080032 app:keywords="@string/keywords_gesture"
Antony Sargentd762ff22018-04-23 15:34:32 -070033 app:controller="com.android.settings.gestures.DoubleTapScreenPreferenceController"
34 app:allowDividerAbove="true" />
Fan Zhangb99ea902016-11-08 13:52:58 -080035
Edgar Wang0934bab2020-02-06 11:40:42 +080036</PreferenceScreen>