Android APIs
Added in API level 4
public interface

Animatable

android.graphics.drawable.Animatable
Known Indirect Subclasses

Class Overview

Interface that drawables supporting 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.