After JellyBean, Android SDK includes an ActivityOptions.makeScaleUpAnimation() API for starting an activity using scale-up animation from a view. I want to know how i can get a reverse animation that scales down the activity window to the original view when finishing the activity? And another question is that can i define the animation duration when using ActivityOptions.makeScaleUpAnimation()?
Unforunatly that is currently not possible. Check this video from the android dev blog http://www.youtube.com/watch?v=Ho8vk61lVIU.
I'm not sure about the duration, you might have to subclass ActivityOptions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With