Added Snowfall effect

This commit is contained in:
Prathamesh More 2021-12-24 16:47:57 +05:30
parent 8e1dc3a600
commit 5a310ec329
8 changed files with 58 additions and 8 deletions

View file

@ -8,7 +8,6 @@
android:clickable="true"
android:focusable="true">
<View
android:id="@+id/colorGradientBackground"
android:layout_width="match_parent"
@ -18,6 +17,14 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.jetradarmobile.snowfall.SnowfallView
android:id="@+id/snowfall_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:snowflakeSpeedMax="6"
app:snowflakeSpeedMin="2"
app:snowflakesNum="75" />
<include layout="@layout/shadow_statusbar_toolbar" />
<FrameLayout