Added in API level 1
Deprecated in API level 29

ZoomControls


open class ZoomControls : LinearLayout
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.LinearLayout
   ↳ android.widget.ZoomControls

The ZoomControls class displays a simple set of controls used for zooming and provides callbacks to register for events.

Summary

Inherited XML attributes
Inherited constants
Public constructors
ZoomControls(context: Context!)

ZoomControls(context: Context!, attrs: AttributeSet!)

Public methods
open CharSequence!

open Boolean

open Unit

open Boolean

open Unit

open Unit

open Unit

open Unit

open Unit

open Unit

Inherited functions
Inherited properties

Public constructors

ZoomControls

Added in API level 1
ZoomControls(context: Context!)

ZoomControls

Added in API level 1
ZoomControls(
    context: Context!,
    attrs: AttributeSet!)

Public methods

getAccessibilityClassName

Added in API level 23
Deprecated in API level 29
open fun getAccessibilityClassName(): CharSequence!

Deprecated: Deprecated in Java.

hasFocus

Added in API level 1
open fun hasFocus(): Boolean

Deprecated: Deprecated in Java.

Return
Boolean true if this view has or contains focus

hide

Added in API level 1
open fun hide(): Unit

Deprecated: Deprecated in Java.

onTouchEvent

Added in API level 1
open fun onTouchEvent(event: MotionEvent!): Boolean

Deprecated: Deprecated in Java.

Parameters
event MotionEvent!: The motion event.
Return
Boolean True if the event was handled, false otherwise.

setIsZoomInEnabled

Added in API level 1
open fun setIsZoomInEnabled(isEnabled: Boolean): Unit

Deprecated: Deprecated in Java.

setIsZoomOutEnabled

Added in API level 1
open fun setIsZoomOutEnabled(isEnabled: Boolean): Unit

Deprecated: Deprecated in Java.

setOnZoomInClickListener

Added in API level 1
open fun setOnZoomInClickListener(listener: View.OnClickListener!): Unit

Deprecated: Deprecated in Java.

setOnZoomOutClickListener

Added in API level 1
open fun setOnZoomOutClickListener(listener: View.OnClickListener!): Unit

Deprecated: Deprecated in Java.

setZoomSpeed

Added in API level 1
open fun setZoomSpeed(speed: Long): Unit

Deprecated: Deprecated in Java.

show

Added in API level 1
open fun show(): Unit

Deprecated: Deprecated in Java.