Most visited

Recently visited

Added in API level 4

ZoomButtonsController.OnZoomListener

public static interface ZoomButtonsController.OnZoomListener

android.widget.ZoomButtonsController.OnZoomListener


将在用户执行触发某些操作的交互(例如缩放)时调用的接口。

Summary

Public methods

abstract void onVisibilityChanged(boolean visible)

当缩放控件的可见性发生变化时调用。

abstract void onZoom(boolean zoomIn)

当所有者视图需要放大时调用。

Public methods

onVisibilityChanged

Added in API level 4
void onVisibilityChanged (boolean visible)

当缩放控件的可见性发生变化时调用。

Parameters
visible boolean: Whether the zoom controls are visible.

onZoom

Added in API level 4
void onZoom (boolean zoomIn)

当所有者视图需要放大时调用。

Parameters
zoomIn boolean: The direction of the zoom: true to zoom in, false to zoom out.

Hooray!