开发者

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..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜