本文介绍了Android的暂停动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想停止动画有一次,我在button..I单击意味着我要被点击时暂停动画按钮并希望在地方button.I的显示图像要为API级别做到这一点> 11.I正在使用的价值为动画帮助animation.Please
I want to stop animation once i click on the button..I mean that I want to pause animating a button when it is clicked and want to show an image in place of that button.I want to do this for api level > 11.I am using value animator for animation.Please help
推荐答案
有是在API级别19已经在API级别11暂停/恢复动画的特征没有支持的API。
There's no supporting API for pausing/resuming animations in API level 11. The features have been added in API level 19.
不过,这里有一个解决方案,你可以尝试
However, here's a solution that you could try http://stackoverflow.com/a/7840895/3025732
这篇关于Android的暂停动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!