我需要有关动画的一些建议。我有一个GIF动画,但如何把在Android应用程序是动画。当我把它放在不动的。我在读Android的一些有关动漫,我需要有图片的动画。有没有什么解决方案呢?
I need some advice about animation. I have an animated GIF, but how to put in Android app to be animation. When I put it doesn't move at all. I read something about animation in Android and I need to have pictures for animation. Is there any solution for this ?
Android不支持GIF动画了。您可以使用 AnimationDrawable
,也许是从使用绘制的XML文件。
Android does not support animated GIFs much. You can use an AnimationDrawable
, perhaps defined from frames using a drawable XML file.