A
A
Artem Vishnevsky2016-05-18 12:38:15
Android
Artem Vishnevsky, 2016-05-18 12:38:15

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

2 answer(s)
L
lazard105, 2016-05-19
@Tema_man

Just like animated controls : AnimatedVectorDrawable.
a7e59b48e22a92dcf5703e6b7d0bf4c9.gif38781c9fc2fa46db9c320c89c341cc68.gif

A
Alexey Perelygin, 2016-05-19
@orcDamnar

I would do it in GLES or Canvas depending on the difficulty.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question