setLayout

fun setLayout(@LayoutRes() layoutRes: Int): Balloon.Builder

sets the custom layout resource to the popup content.

fun setLayout(layout: View): Balloon.Builder

sets the custom layout view to the popup content.