Skip to content

Most visited

Recently visited

navigation
Added in API level 4

ZoomButtonsController.OnZoomListener

public static interface ZoomButtonsController.OnZoomListener

android.widget.ZoomButtonsController.OnZoomListener


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

onVisibilityChanged

Added in API level 4
void onVisibilityChanged (boolean visible)

Called when the zoom controls' visibility changes.

Parameters
visible boolean: Whether the zoom controls are visible.

onZoom

Added in API level 4
void onZoom (boolean zoomIn)

Called when the owner view needs to be zoomed.

Parameters
zoomIn boolean: The direction of the zoom: true to zoom in, false to zoom out.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.