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

Extensions for android.view.View

showAlignBottom

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

fun View.showAlignBottom(balloon: Balloon): Unit

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

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

showAlignLeft

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

fun View.showAlignLeft(balloon: Balloon): Unit

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

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

showAlignRight

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

fun View.showAlignRight(balloon: Balloon): Unit

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

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

showAlignTop

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

fun View.showAlignTop(balloon: Balloon): Unit

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

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

showAsDropDown

shows the balloon on an anchor view as drop down.

fun View.showAsDropDown(balloon: Balloon): Unit

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

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

showBalloon

shows the balloon on the center of an anchor view.

fun View.showBalloon(balloon: Balloon): Unit

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

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