【发布时间】:2019-01-27 00:39:00
【问题描述】:
【问题讨论】:
-
"If yes then how ?"- 了解custom views
【问题讨论】:
"If yes then how ?" - 了解custom views
如果你创建一个动画 Drawable 里面有不同的帧是可能的。然后您可以将此drawable设置为图像资源并启动/停止动画。
您所需要的只是动画的不同帧。您可以使用一些在线提供的工具来做到这一点。 其中之一是https://ezgif.com/split
动画可绘制参考这里:
Display an animated PNG image to my layout in android using XML
一切顺利!
【讨论】: