How to make animated background (onboarding) on android?

Quite often onboarding'and designer portals with different animations, almost small rollers. I can not understand how to do in android something like this or this here

To mind a few options, but they all somehow look strange and each has significant drawbacks :
1. Save animated gifs. Use Movie or custom view to display it
2. To use video (n. PR mp4) and display on SurfaceView or TextureView
3. To use frame by frame animation Android
4. Each animated piece to make a separate view and animate.
5. To draw everything on Canvas
July 9th 19 at 13:25
2 answers
July 9th 19 at 13:27
As well as animated controls : AnimatedVectorDrawable.
Example :
Yes, perhaps the most convenient option. - elda.Cartwrig commented on July 9th 19 at 13:30
July 9th 19 at 13:29
I would have done in the GLES or Canvas depending on complexity.

Find more questions by tags AndroidAnimation