setSizeResource

fun setSizeResource(@DimenRes() width: Int, @DimenRes() height: Int): Balloon.Builder

sets the width and height sizes of the balloon using a dimension resource.