In my Android app, I’ve written a custom Animation subclass to handle some of my view transitions. I want to use the same animation for the transition between Activities in my app. How can I use my Animation subclass for the Activity transition?
I’m aware of calling overridePendingTransition(), but that won’t work in this case:
- My animations are not in XML resources, and
- It’s not possible to represent them with just the supported tags in
AnimationUtils.
I appears that it is not currently possible: Custom Animation Object for Transition in Android?