Android.Widget.ZoomButtonsController Class
The Android.Widget.ZoomButtonsController handles showing and hiding the zoom controls and positioning it relative to an owner view.

See Also: ZoomButtonsController Members

Syntax

[Android.Runtime.Register("android/widget/ZoomButtonsController", DoNotGenerateAcw=true)]
public class ZoomButtonsController : Java.Lang.Object, Android.Views.View.IOnTouchListener, IDisposable

Remarks

The Android.Widget.ZoomButtonsController handles showing and hiding the zoom controls and positioning it relative to an owner view. It also gives the client access to the zoom controls container, allowing for additional accessory buttons to be shown in the zoom controls window.

Typically, clients should call ZoomButtonsController.Visible on a touch down or move (no need to call ZoomButtonsController.Visible since it will time out on its own). Also, whenever the owner cannot be zoomed further, the client should update ZoomButtonsController.SetZoomInEnabled(bool) and ZoomButtonsController.SetZoomOutEnabled(bool).

If you are using this with a custom View, please call ZoomButtonsController.Visible from Android.Views.View.OnDetachedFromWindow and from Android.Views.View.OnVisibilityChanged(Android.Views.View, Android.Views.ViewStates) when visibility != View.VISIBLE.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4