Merge pull request #5736 from vector-im/feature/adm/confetti-z-order

Fixing onboarding confetti Z order
This commit is contained in:
Adam Brown 2022-04-11 16:12:54 +01:00 committed by GitHub
commit c68045360e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 12 deletions

1
changelog.d/5735.bugfix Normal file
View File

@ -0,0 +1 @@
Fixes the onboarding confetti rendering behind the content instead of in-front

View File

@ -6,12 +6,6 @@
android:layout_height="match_parent"
android:background="?colorSecondary">
<nl.dionsegijn.konfetti.xml.KonfettiView
android:id="@+id/viewKonfetti"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/ftueAuthGutterStart"
android:layout_width="wrap_content"
@ -168,4 +162,10 @@
app:layout_constraintHeight_percent="0.05"
app:layout_constraintTop_toBottomOf="@id/ctaBottomBarrier" />
<nl.dionsegijn.konfetti.xml.KonfettiView
android:id="@+id/viewKonfetti"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -4,12 +4,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<nl.dionsegijn.konfetti.xml.KonfettiView
android:id="@+id/viewKonfetti"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/ftueAuthGutterStart"
android:layout_width="wrap_content"
@ -112,4 +106,10 @@
app:layout_constraintHeight_percent="0.05"
app:layout_constraintTop_toBottomOf="@id/personalizationCompleteCta" />
<nl.dionsegijn.konfetti.xml.KonfettiView
android:id="@+id/viewKonfetti"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</androidx.constraintlayout.widget.ConstraintLayout>