Mudasar
Mudasar

Reputation: 249

Android - How can I animate different images smoothly?

Can anyone tell me how I can animate different images? I want to animate different image after some time in my app. I am new, so please help me or provide me some working example code.

I want to make a program which rotates the images (i.e. one image loads after that 2nd comes to load, but the loading is done like in games where the background images are changed when the player moves).

Upvotes: 0

Views: 4189

Answers (2)

Abhinava
Abhinava

Reputation: 1030

there are multiple ways of animation... the most basic one is by the use of Animation framework available in Android. All you need to do is define the animations in xml and play animation on different imageviews.

you can get sample in API Demo app.

Upvotes: 1

Related Questions