showAlign

fun showAlign(align: BalloonAlign, mainAnchor: View, subAnchorList: List<View> = listOf(), xOff: Int = 0, yOff: Int = 0)

Shows the balloon on an anchor view depending on the align alignment with x-off and y-off.

Parameters

align

Decides where the balloon should be placed.

mainAnchor

A target view which popup will be displayed.

subAnchorList

A list of anchors to display focuses on the overlay view.

xOff

A horizontal offset from the anchor in pixels.

yOff

A vertical offset from the anchor in pixels.