Transitions on Android and slide shows

I am trying to write a simple slide show with various transitions between images. I would like to have various transitions such as fade in, fade out, slide left / right, which could probably be done using the Android API animation. But I would also like to have more complex transitions, such as a checkerboard left / right, pasting / clipping, I / O circle, curtain, spiral, horizontal separation, etc., which, I believe, cannot be done with using animation.

I know that the transition names, as I named them, are not enough to know exactly what the transitions should look like, but I think you will get a general idea.

So my question is: what should be used to achieve these effects / transitions? I am not asking for code (although some links to examples would be great, of course), but in general, what should I use? Opengl Regions? Ways of clips? BitmapShaders?

I just don't feel like spending a week researching this when I'm sure you guys know the answer;)

If possible, I would like to avoid OpenGL since I did not use it. On Android 3.0+ devices, I use hardwareAcceleration = "true" in Manifest, and on devices not exceeding 3.0, I could limit the simple input / output of the slides, fade in / out if necessary (read: if other transitions are too slow without using OpenGL).

+4
source share
1 answer

Source: https://habr.com/ru/post/1393924/


All Articles