我已使用
将放大动画应用到我的Imageview
myImageView.startAnimation(AnimationUtils.loadAnimation(this,R.anim.zoom_in ));
将动画的android:fillEnabled
和android:fillAfter
属性指定为true。我可以稍后清除动画并将ImageView
还原到旧状态吗?我试过使用clearAnimation()
方法ImageView
,但似乎不使用fillEnabled
和fillAfter
属性。
答案 0 :(得分:7)
myImageView.setAnimation(null);
应该有效。希望它有所帮助!
答案 1 :(得分:0)
我认为你应该试试这个
yourAnimation.cancel();
答案 2 :(得分:0)
numbers = [[0.4437678, 0.4318693, 0.3873539, 0.03706345]]
[[0.4437677, 0.4318692, 0.3873538, 0.03706344]]
[[0.2260452, 0.2189278, 0.1944221, 0.01853172]]
[[0.2260452, 0.2189278, 0.1944227, 0.01853173]]
[[0.2260452, 0.2189278, 0.1944227, 0.01853173]]
...
...
...
[[0.2260452, 0.2189278, 0.1944221, 0.01853172]]
up to about 500 lines
是您要寻找的。 p>