mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
The lottie animations used for the gesture navigation tutorial are designed for specific orientations depending on the device. This change ensures that users are in the correct orientation for their device. For large screen users in portrait mode, we display a prompt to rotate the screen. Flag: ENABLE_NEW_GESTURE_TUTORIAL Fix: 277781713 Bug: 276515961 Test: Manually went through the tutorial starting from both orientations on handheld, foldable, and tablet to ensure that the prompt was shown and hidden correctly. Also ensured that gestures cannot be completed in the background while the prompt is being shown. Change-Id: I86ae566721f240264177ad4ec7fc12e58d1b95cd
27 lines
1.3 KiB
XML
27 lines
1.3 KiB
XML
<!--
|
|
Copyright (C) 2023 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.
|
|
-->
|
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
|
android:width="32dp"
|
|
android:height="32dp"
|
|
android:tint="?attr/colorControlNormal"
|
|
android:viewportHeight="960"
|
|
android:viewportWidth="960">
|
|
<path
|
|
android:fillColor="?androidprv:attr/materialColorOnSurface"
|
|
android:pathData="M40,840L480,80L920,840L40,840ZM178,760L782,760L480,240L178,760ZM480,720Q497,720 508.5,708.5Q520,697 520,680Q520,663 508.5,651.5Q497,640 480,640Q463,640 451.5,651.5Q440,663 440,680Q440,697 451.5,708.5Q463,720 480,720ZM440,600L520,600L520,400L440,400L440,600ZM480,500L480,500L480,500L480,500Z" />
|
|
</vector>
|