AndroidBottomBar / com.skydoves.androidbottombar.forms / IconForm / Builder

Builder

data class Builder

Builder class for IconForm.

Constructors

<init>

Builder class for IconForm.

Builder(context: Context)

Properties

icon

var icon: Drawable?

iconColor

var iconColor: Int

iconSize

var iconSize: Int

Functions

build

fun build(): IconForm

setIcon

sets the Drawable of the icon.

fun setIcon(value: Drawable?): Builder

sets the Drawable of the icon using resource.

fun setIcon(value: Int): Builder

setIconColor

sets the color of the icon.

fun setIconColor(value: Int): Builder

setIconColorRes

sets the color of the icon using resource

fun setIconColorRes(value: Int): Builder

setIconSize

sets the size of the icon.

fun setIconSize(value: Int): Builder