我想做一个改变图像的ImageView。ImageView是个跑腿的人,我想做他的农场?
发布于 2013-08-12 09:23:26
帧动画-这是最简单的,如果你只有很少的图像。
http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html
发布于 2013-08-12 09:09:09
远距离?第二次1000次?gif不适用于布局..。您可以在美国动画,或线程(慢)
Animate multiple imageviews dependently
快速动画指南http://www.javacodegeeks.com/2011/01/android-animations-quick-guide.html
发布于 2018-09-01 11:16:02
试试这个https://github.com/DanielMartinus/Konfetti
或
在使用implementation pl.droidsonroids.gif:android-gif-drawable:1.2.4
的项目中使用GIF。
<pl.droidsonroids.gif.GifImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/mygif"/>
https://stackoverflow.com/questions/18183204
复制相似问题