开发者

How to animate onDraw images in android?

I am currently writing a custom TableLayout that will contain a grid of bitmap images, is there a way for my开发者_JS百科 to animate how the images are drawn on the layout. That is, has the images are drawn by the OnDraw method, it should be displayed on the layout with animation.

A code sample will be greatly appreciated.

Thanks.


I'd start by reading the AnimationDrawable and Animation Resources developer docs. There are animation examples in ApiDemos. Once you try to get some code down, people will probably be more likely to help you out with it than write it for you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜