Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a7de100 authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Update gesture nav edu motion and colors

- Updated gesture nav edu overview step post-success motion and colors
- Updated gesture nav edu menu done button color and legacy action button color
- Switching light/dark mode when a step is complete started the demonstration animation. fixed this jank

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Fixes: 281764891
Fixes: 283964958
Bug: 279823249
Test: ran full tutorial with ENABLE_NEW_GESTURE_NAV_TUTORIAL enabled and disabled
Change-Id: I9adc05947267ec038b6f374b2a29a5499468883b
parent 883871e2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -157,6 +157,7 @@
        android:layout_marginVertical="16dp"
        android:text="@string/gesture_tutorial_action_button_label"
        android:background="@drawable/gesture_tutorial_action_button_background"
        android:backgroundTint="?androidprv:attr/materialColorPrimary"
        android:stateListAnimator="@null"

        app:layout_constraintTop_toBottomOf="@id/guideline"
+1 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@
            android:paddingEnd="26dp"
            android:text="@string/gesture_tutorial_action_button_label"
            android:background="@drawable/gesture_tutorial_action_button_background"
            android:backgroundTint="?android:attr/colorAccent"
            android:stateListAnimator="@null"
            android:visibility="invisible"

+0 −21
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     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.
-->
<View
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@style/GestureTutorialActivity"
    android:id="@+id/overview_gesture_tutorial_shape"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="20dp"
    android:background="?attr/onSurfaceOverview" />
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -156,6 +156,7 @@
        android:layout_marginVertical="16dp"
        android:text="@string/gesture_tutorial_action_button_label"
        android:background="@drawable/gesture_tutorial_action_button_background"
        android:backgroundTint="?androidprv:attr/materialColorPrimary"
        android:stateListAnimator="@null"

        app:layout_constraintTop_toBottomOf="@id/guideline"
+0 −20
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     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.
-->
<View
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@style/GestureTutorialActivity"
    android:id="@+id/swipe_up_gesture_tutorial_shape"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="?attr/surfaceHome" />
Loading