Fan Zhang | b99ea90 | 2016-11-08 13:52:58 -0800 | [diff] [blame] | 1 | <?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 Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 18 | <PreferenceScreen |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 21 | android:title="@string/double_tap_power_for_camera_title"> |
Fan Zhang | 33b0d91 | 2016-11-09 11:35:10 -0800 | [diff] [blame] | 22 | |
| 23 | <com.android.settings.widget.VideoPreference |
| 24 | android:key="gesture_double_tap_power_video" |
| 25 | app:animation="@raw/gesture_double_tap" |
Fan Zhang | 82be5f0 | 2017-05-23 10:46:54 -0700 | [diff] [blame] | 26 | app:preview="@drawable/gesture_double_tap" /> |
Fan Zhang | b99ea90 | 2016-11-08 13:52:58 -0800 | [diff] [blame] | 27 | |
| 28 | <SwitchPreference |
| 29 | android:key="gesture_double_tap_power" |
| 30 | android:title="@string/double_tap_power_for_camera_title" |
Fan Zhang | 82be5f0 | 2017-05-23 10:46:54 -0700 | [diff] [blame] | 31 | android:summary="@string/double_tap_power_for_camera_summary" |
HJ ChangLiao | 3c4c3fc | 2018-04-02 17:06:55 +0800 | [diff] [blame] | 32 | app:keywords="@string/keywords_gesture" |
Antony Sargent | d762ff2 | 2018-04-23 15:34:32 -0700 | [diff] [blame] | 33 | app:controller="com.android.settings.gestures.DoubleTapPowerPreferenceController" |
| 34 | app:allowDividerAbove="true" /> |
Fan Zhang | b99ea90 | 2016-11-08 13:52:58 -0800 | [diff] [blame] | 35 | |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 36 | </PreferenceScreen> |