Capiono
Capiono

Reputation: 220

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 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.

Upvotes: 0

Views: 1510

Answers (1)

user432209
user432209

Reputation: 20177

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.

Upvotes: 1

Related Questions