Android的动画GIF(蛋糕) [英] Android animated GIF (Cupcake)
本文介绍了Android的动画GIF(蛋糕)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Android的pre蛋糕但是我的老code将不再有效使用的GIF动画。确切的说:
I've used animated GIFs in Android pre cupcake however my old code no longer works. To be exact:
Movie.decodeStream
始终返回null ......没有人有任何解决方法/修复播放GIF动画?
Always returns null... Does anyone have any workarounds/fixes to play animated GIFs?
推荐答案
还有的 bug报告此。看起来唯一的选择目前是分割它,做手工逐格动画。有一个在文档说明怎么办这一点。
There's a bug report for this. Looks like the only option currently is to split it up and do frame-by-frame animation manually. There's instructions in the docs for how to do this.
这篇关于Android的动画GIF(蛋糕)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文