Added Animation and Sound for Game End

This commit is contained in:
Alexander Doerflinger
2026-01-30 10:29:43 +01:00
parent c2f18d9328
commit 3fc5966e40
12 changed files with 182 additions and 6 deletions

View File

@@ -157,4 +157,30 @@
</LinearLayout>
</LinearLayout>
<FrameLayout
android:id="@+id/dimmer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/dim_color"
android:visibility="gone"/>
<TextView
android:id="@+id/winner_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
style="@style/TextAppearance.Oche.Hero"
android:textColor="@color/volt_green"
android:visibility="gone"
tools:text="Zander"/>
<nl.dionsegijn.konfetti.xml.KonfettiView
android:id="@+id/konfetti_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>