Problem with Animation

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Problem with Animation

Postby RichieH » Thu Dec 03, 2009 12:53 pm

Hi all,
I have several imageviews in a layout.
I have used the animation-list to create an animation and set oneshot to true
The animation is set using the setBackground() method on the ImageView.

An animation can run on a randomly selected image view.

I want the animation to complete before it is removed/replaced/restarted

I tried using the isRunning method but this always returns true

There doesn't appear to be anyway to determine what the curernt frame is, so I'm stuck.

How can I detect that a oneshot animation has finished running?
RichieH
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Dec 03, 2009 12:42 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 6 guests