Back to project page AndroidViewAnimations.
The source code is released under:
MIT License
If you think the Android project AndroidViewAnimations listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.daimajia.androidanimations.library.specials.out; /*from ww w. ja v a2s . c om*/ import android.view.View; import com.daimajia.androidanimations.library.BaseViewAnimator; import com.daimajia.easing.Glider; import com.daimajia.easing.Skill; import com.nineoldandroids.animation.ObjectAnimator; public class TakingOffAnimator extends BaseViewAnimator { @Override protected void prepare(View target) { getAnimatorAgent().playTogether( Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "scaleX", 1f, 1.5f)), Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "scaleY", 1f, 1.5f)), Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "alpha", 1, 0)) ); } }