Set the animation preview image view to the newly added preview image instead of loading it from animation video. Test: manual - launch gesture settings and visually check the animation preview images. Bug: 31636637 Change-Id: If25a0e3501bea0c6343326a143d665ec79e3d7c7
57 lines
2.6 KiB
XML
57 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 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/gesture_preference_title"
|
|
settings:keywords="@string/keywords_gesture">
|
|
|
|
<com.android.settings.gestures.GesturePreference
|
|
android:key="gesture_swipe_down_fingerprint"
|
|
android:title="@string/fingerprint_swipe_for_notifications_title"
|
|
android:summary="@string/fingerprint_swipe_for_notifications_summary"
|
|
settings:animation="@raw/gesture_fingerprint_swipe"
|
|
settings:preview="@drawable/gesture_fingerprint_swipe"/>
|
|
|
|
<com.android.settings.gestures.GesturePreference
|
|
android:key="gesture_double_tap_power"
|
|
android:title="@string/double_tap_power_for_camera_title"
|
|
android:summary="@string/double_tap_power_for_camera_summary"
|
|
settings:animation="@raw/gesture_double_tap"
|
|
settings:preview="@drawable/gesture_double_tap"/>
|
|
|
|
<com.android.settings.gestures.GesturePreference
|
|
android:key="gesture_double_twist"
|
|
android:title="@string/double_twist_for_camera_mode_title"
|
|
android:summary="@string/double_twist_for_camera_mode_summary"
|
|
settings:animation="@raw/gesture_twist"
|
|
settings:preview="@drawable/gesture_twist"/>
|
|
|
|
<com.android.settings.gestures.GesturePreference
|
|
android:key="gesture_double_tap_screen"
|
|
android:title="@string/ambient_display_title"
|
|
android:summary="@string/ambient_display_summary"
|
|
settings:animation="@raw/gesture_ambient_tap"
|
|
settings:preview="@drawable/gesture_ambient_tap"/>
|
|
|
|
<com.android.settings.gestures.GesturePreference
|
|
android:key="gesture_pick_up"
|
|
android:title="@string/ambient_display_pickup_title"
|
|
android:summary="@string/ambient_display_pickup_summary"
|
|
settings:animation="@raw/gesture_ambient_lift"
|
|
settings:preview="@drawable/gesture_ambient_lift"/>
|
|
|
|
</PreferenceScreen> |