Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

Animatable

android.graphics.drawable.Animatable
Known Indirect Subclasses

Class Overview

Interface that drawables suporting animations should implement.

Summary

Public Methods
abstract boolean isRunning ()
Indicates whether the animation is running.
abstract void start ()
Starts the drawable's animation.
abstract void stop ()
Stops the drawable's animation.

Public Methods

public abstract boolean isRunning ()

Added in API level 4

Indicates whether the animation is running.

Returns
  • True if the animation is running, false otherwise.

public abstract void start ()

Added in API level 4

Starts the drawable's animation.

public abstract void stop ()

Added in API level 4

Stops the drawable's animation.