Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: lottie splash screen #13714

Merged
merged 11 commits into from
Aug 2, 2022
Prev Previous commit
Next Next commit
fix: animation view size to 128
  • Loading branch information
yqrashawn committed Aug 2, 2022
commit e37965935b3af112cb9775dd45fd73d3b6cb8651
10 changes: 7 additions & 3 deletions android/app/src/main/res/layout/launch_screen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@

<com.airbnb.lottie.LottieAnimationView
android:id="@+id/lottie"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_gravity="center"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
app:lottie_rawRes="@raw/launching_animation"
app:lottie_autoPlay="true"
app:lottie_loop="true"
/>
</FrameLayout>
</FrameLayout>
Loading