开发者

Animate drawing from image file

开发者 https://www.devze.com 2023-03-18 03:28 出处:网络
Is there a way to animate the drawing of an image (from PNG) in a custom view? I have an image of a circle that I would like to be drawn within a custom view. It would have to appear to be drawn in 开

Is there a way to animate the drawing of an image (from PNG) in a custom view?

I have an image of a circle that I would like to be drawn within a custom view. It would have to appear to be drawn in 开发者_StackOverflowa clockwise direction.

Thanks


Since you want something to look drawn, not just a current image manipulated/transformed, I would look at Frame Animation.

http://developer.android.com/guide/topics/graphics/view-animation.html#frame-animation

0

精彩评论

暂无评论...
验证码 换一张
取 消