balloon / com.skydoves.balloon / android.view.View

Extensions for android.view.View

showAlignBottom

fun View.showAlignBottom(balloon: Balloon): Unit

shows the balloon on an anchor view as the bottom alignment.

fun View.showAlignBottom(balloon: Balloon, xOff: Int, yOff: Int): Unit

shows the balloon on an anchor view as the bottom alignment with x-off and y-off.

showAlignLeft

fun View.showAlignLeft(balloon: Balloon): Unit

shows the balloon on an anchor view as the left alignment.

fun View.showAlignLeft(balloon: Balloon, xOff: Int, yOff: Int): Unit

shows the balloon on an anchor view as the left alignment with x-off and y-off..

showAlignRight

fun View.showAlignRight(balloon: Balloon): Unit

shows the balloon on an anchor view as the right alignment.

fun View.showAlignRight(balloon: Balloon, xOff: Int, yOff: Int): Unit

shows the balloon on an anchor view as the right alignment with x-off and y-off.

showAlignTop

fun View.showAlignTop(balloon: Balloon): Unit

shows the balloon on an anchor view as the top alignment.

fun View.showAlignTop(balloon: Balloon, xOff: Int, yOff: Int): Unit

shows the balloon on an anchor view as the top alignment with x-off and y-off.

showAsDropDown

fun View.showAsDropDown(balloon: Balloon): Unit

shows the balloon on an anchor view as drop down.

fun View.showAsDropDown(balloon: Balloon, xOff: Int, yOff: Int): Unit

shows the balloon on an anchor view as drop down with x-off and y-off.

showBalloon

fun View.showBalloon(balloon: Balloon): Unit

shows the balloon on the center of an anchor view.

fun View.showBalloon(balloon: Balloon, xOff: Int, yOff: Int): Unit

shows the balloon on an anchor view with x-off and y-off.