Answer the question
In order to leave comments, you need to log in
How to make an animated background (onboarding) on android?
Quite often there are onboardings on design portals with various animations, almost small videos. I just can’t figure out how to implement something like this or this
in android.
Several options came to mind, but they all look strange and each of them has significant drawbacks:
1. Save the animation as a gif. Use Movie or custom view to display it
2. Use video (eg mp4) and display on TextureView or SurfaceView
3. Use Android frame-by-frame animation
4. Make each animated fragment a separate view and animate.
5. Draw everything on Canvas
Answer the question
In order to leave comments, you need to log in
I would do it in GLES or Canvas depending on the difficulty.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question