balloon / com.skydoves.balloon / IconForm / Builder

Builder

class Builder

Builder class for IconForm.

Constructors

<init>

Builder(context: Context)

Builder class for IconForm.

Properties

drawable

var drawable: Drawable?

iconColor

var iconColor: Int

iconSize

var iconSize: Int

iconSpace

var iconSpace: Int

Functions

build

fun build(): IconForm

setDrawable

fun setDrawable(value: Drawable?): Builder

sets the Drawable of the icon.

setIconColor

fun setIconColor(value: Int): Builder

sets the color of the icon.

setIconSize

fun setIconSize(value: Int): Builder

sets the size of the icon.

setIconSpace

fun setIconSpace(value: Int): Builder

sets the space between the icon and the main text content.