Gesturedeck Media Overlay
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.
root View
The root view for rendering the overlay. If not provided, the overlay will be rendered on the root view of the activity.
tint Color
The tint color of the overlay. Has effect only when an activation key is set.
background Color
The background color of the overlay.
top Icon
The icon to be displayed at the top of the overlay.
icon Tap
The icon to be displayed for 2-finger tap gesture.
icon Tap Toggled
The alternate icon to be displayed for 2-finger tap gesture.
icon Swipe Left
The icon to be displayed for 2-finger swipe left gesture.
icon Swipe Right
The icon to be displayed for 2-finger swipe right gesture.