relayShowAtCenter

fun relayShowAtCenter(balloon: Balloon, anchor: View, xOff: Int = 0, yOff: Int = 0, centerAlign: BalloonCenterAlign = BalloonCenterAlign.TOP): Balloon

Shows the balloon on an anchor view as the center alignment with x-off and y-off and shows the next balloon sequentially. This function returns the next balloon.

Return

A next balloon.

See also

Parameters

balloon

A next Balloon that will be shown sequentially after dismissing this popup.

anchor

A target view which popup will be shown to.

xOff

A horizontal offset from the anchor in pixels.

yOff

A vertical offset from the anchor in pixels.

centerAlign

A rule for deciding the align of the balloon.