从动画android中删除帧 [英] Remove frames from animation android
本文介绍了从动画android中删除帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试在android中制作帧动画.我可以使用以下命令添加新框架
I have been trying out frame animation in android. I am able to add new frames, by using the following command
animation.addFrame(getResources().getDrawable
有没有一种方法可以冲洗所有框架,然后重新开始.?
Is there a way where I can flush all the frames, start fresh again.?
推荐答案
要删除所有框架,您可以调用:
To remove all frames you can call:
android = new AnimationDrawable();
希望这会有所帮助.
这篇关于从动画android中删除帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文