plattysoft / Leonids

A Particle System for standard Android UI: http://plattysoft.github.io/Leonids/
Apache License 2.0
2.28k stars 398 forks source link

Use Leonids as a shared transition view #107

Open manuelarte opened 4 years ago

manuelarte commented 4 years ago

Is it possible to use Lenoids as a shared tranisition animation between two activities?

plattysoft commented 4 years ago

I have only a brief experience with activity transition animations, I have used them but I am not familiar with the inner workings of them. From what I have seen, I don't think it would be possible, those are based on matching views to other views, I guess you are looking for something like replacing the fade out with a particle effect, like a smoke screen. Given how other frameworks for animations work, and how Leonids uses one single view and draws on the canvas, my first guess is that it would be difficult to make them work together.