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
Added in API level 4
public static interface

ZoomButtonsController.OnZoomListener

android.widget.ZoomButtonsController.OnZoomListener

Class Overview

Interface that will be called when the user performs an interaction that triggers some action, for example zooming.

Summary

Public Methods
abstract void onVisibilityChanged (boolean visible)
Called when the zoom controls' visibility changes.
abstract void onZoom (boolean zoomIn)
Called when the owner view needs to be zoomed.

Public Methods

public abstract void onVisibilityChanged (boolean visible)

Added in API level 4

Called when the zoom controls' visibility changes.

Parameters
visible Whether the zoom controls are visible.

public abstract void onZoom (boolean zoomIn)

Added in API level 4

Called when the owner view needs to be zoomed.

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