Added in API level 4

GestureOverlayView


open class GestureOverlayView : FrameLayout
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.FrameLayout
   ↳ android.gesture.GestureOverlayView

A transparent overlay for gesture input that can be placed on top of other widgets or contain other widgets.

Summary

Nested classes
abstract

abstract

abstract

XML attributes
android:eventsInterceptionEnabled Defines whether the overlay should intercept the motion events when a gesture is recognized.
android:fadeDuration Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture.
android:fadeEnabled Defines whether the gesture will automatically fade out after being recognized.
android:fadeOffset Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it.
android:gestureColor Color used to draw a gesture.
android:gestureStrokeAngleThreshold Minimum curve angle a stroke must contain before it is recognized as a gesture.
android:gestureStrokeLengthThreshold Minimum length of a stroke before it is recognized as a gesture.
android:gestureStrokeSquarenessThreshold Squareness threshold of a stroke before it is recognized as a gesture.
android:gestureStrokeType Defines the type of strokes that define a gesture.
android:gestureStrokeWidth Width of the stroke used to draw the gesture.
android:orientation Indicates whether horizontal (when the orientation is vertical) or vertical (when orientation is horizontal) strokes automatically define a gesture.
android:uncertainGestureColor Color used to draw the user's strokes until we are sure it's a gesture.
Inherited XML attributes
Constants
static Int

static Int

static Int

static Int

Inherited constants
Public constructors

GestureOverlayView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

GestureOverlayView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
open Unit

open Unit

open Unit

open Unit

open Unit

open Unit
clear(animated: Boolean)

open Boolean

open Unit
draw(canvas: Canvas)

open ArrayList<GesturePoint!>!

open Long

open Gesture!

open Int

open Path!

open Path!

open Float

open Float

open Float

open Int

open Float

open Int

open Int

open Boolean

open Boolean

open Boolean

open Boolean

open Unit

open Unit

open Unit

open Unit

open Unit

open Unit

open Unit

open Unit
setFadeEnabled(fadeEnabled: Boolean)

open Unit
setFadeOffset(fadeOffset: Long)

open Unit
setGesture(gesture: Gesture!)

open Unit

open Unit
setGestureStrokeAngleThreshold(gestureStrokeAngleThreshold: Float)

open Unit
setGestureStrokeLengthThreshold(gestureStrokeLengthThreshold: Float)

open Unit
setGestureStrokeSquarenessTreshold(gestureStrokeSquarenessTreshold: Float)

open Unit
setGestureStrokeType(gestureStrokeType: Int)

open Unit
setGestureStrokeWidth(gestureStrokeWidth: Float)

open Unit

open Unit
setOrientation(orientation: Int)

open Unit

Protected methods
open Unit

Inherited functions