GesturedeckMediaOverlay

constructor(activity: Activity? = GlobalApplication.activity, rootView: ViewGroup? = null, tintColor: Int? = null, backgroundColor: Int? = null, topIcon: Drawable? = null, iconTap: Drawable? = null, iconTapToggled: Drawable? = null, iconSwipeLeft: Drawable? = null, iconSwipeRight: Drawable? = null, canConfigureCenterIcon: Boolean = true)

Parameters

activity

The activity that the overlay will be attached to. If not provided, GlobalApplication.activity will be used. See readme for more.

rootView

The root view for rendering the overlay. If not provided, the overlay will be rendered on the root view of the activity.

tintColor

The tint color of the overlay. Has effect only when an activation key is set.

backgroundColor

The background color of the overlay.

topIcon

The icon to be displayed at the top of the overlay.

iconTap

The icon to be displayed for 2-finger tap gesture.

iconTapToggled

The alternate icon to be displayed for 2-finger tap gesture.

iconSwipeLeft

The icon to be displayed for 2-finger swipe left gesture.

iconSwipeRight

The icon to be displayed for 2-finger swipe right gesture.