How to pause animation along with the activity?
need all your suggestions for this.
I am implementing some basic animations in my activity . Now i am in a situation where i want to pause the activity along with the animations when i started the acti开发者_如何学Cvity the animation also starts from that pause position.How can i achieve this?
sample code::
TranslateAnimation mAnimation=new TranslateAnimation(20, 875, 0, 50);
mAnimation.setDuration(3000);
mAnimation.setAnimationListener(this);
mRlCurAnswer.startAnimation(mAnimation);
Thanks..
精彩评论