Most visited

Recently visited

Added in API level 4

Animatable

public interface Animatable

android.graphics.drawable.Animatable
Known Indirect Subclasses


可以绘制支持动画的界面应该实现。

Summary

Public methods

abstract boolean isRunning()

指示动画是否正在运行。

abstract void start()

开始drawable的动画。

abstract void stop()

停止绘图的动画。

Public methods

isRunning

Added in API level 4
boolean isRunning ()

指示动画是否正在运行。

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

start

Added in API level 4
void start ()

开始drawable的动画。

stop

Added in API level 4
void stop ()

停止绘图的动画。

Hooray!