I want to override the default activity transition in Android with something more fun. What I want to do cannot be done with the XML set that is commonly used, so I cannot use overridePendingTransitionit because it only accepts whole links to XML-based animation resources.
Instead, I would like to create my own object that inherits from Animationand overrides methods getTransformationand applyTransformationto do something of my own. I can do this, but I cannot find a way to associate this new animation object with a transition. Is there a method like overridePendingTransitionthat takes an Animation object? Or am I all about this wrong?
Dan m source
share