为什么.gif注意动画图片不是在我的Andr​​oid应用动画? [英] Why are .gif animated images not animating in my Android app?

查看:164
本文介绍了为什么.gif注意动画图片不是在我的Andr​​oid应用动画?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序.gif注意:动画图像的使用,但图像没有动画。在它的工作原理是iPhone ......为什么阻止Android的动画?任何解决方案?

I'm trying to use .gif animated images in my app, but the image is not animating. On an iPhone it works... why is Android blocking the animation? Any solution?

推荐答案

它看起来像很多人是想GIF动画,只是在Android上工作,但他们目前不 - 看的在Android bug跟踪系统发行3422。

It looks like plenty of people are wanting animated GIFs to just work on Android, but they don't currently - see Issue 3422 on the Android bug tracker.

看起来你可以通过按的 http://androidosbeginning.blogspot.com/2010/09/gif-animation-in-android.html

It looks like you may be able to do it by treating the animated GIF as a movie according to http://androidosbeginning.blogspot.com/2010/09/gif-animation-in-android.html

类似的问题,其中有一个答案可以帮助您:<一href=\"http://stackoverflow.com/questions/809878/android-how-do-a-display-a-large-animated-gif-given-a-url\">Android:如何显示给定的URL的大型动画GIF?

Similar question, which has an answer which may help you: Android: How do a display a large animated gif given a url?

这篇关于为什么.gif注意动画图片不是在我的Andr​​oid应用动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆