如何显示在android应用动画GIF图像?图像、动画、android、GIF

2023-09-06 03:10:30 作者:柠萌味仙女

我要显示动画GIF图像在Android应用程序像下面的图片。我已经试过了的WebView,但没有成功。如何显示GIF动画的应用程序?

I want to show an animated GIF image in an android application like the image below. I have tried the webview but no success. How to show the animated gif in the application?

推荐答案

长谷歌搜索后,我知道,没有为GIF图像没有原生支持。还有用于显示GIF动画的应用程序没有适当的解决方案。您可以查看该解决方案

After long Google search, I knew that there is no native support for the GIF images. There are no proper solutions for showing the animated gif in application. You can view This solution

做GIF动画播放的布局。

to make the animated gif play in a layout.