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

Builder

data class Builder

Builder class for TitleForm.

Constructors

<init>

Builder class for TitleForm.

Builder(context: Context)

Properties

title

var title: CharSequence

titleColor

var titleColor: Int

titleGravity

var titleGravity: Int

titlePadding

var titlePadding: Int

titleSize

var titleSize: Float

titleStyle

var titleStyle: Int

titleTypeface

var titleTypeface: Typeface?

Functions

build

fun build(): TitleForm

setTitle

sets the content of the title.

fun setTitle(value: CharSequence): Builder

sets the content of the title using string resource.

fun setTitle(value: Int): Builder

setTitleColor

sets the color of the title.

fun setTitleColor(value: Int): Builder

setTitleColorRes

sets the color of the title using resource.

fun setTitleColorRes(value: Int): Builder

setTitleGravity

sets gravity of the title.

fun setTitleGravity(value: Int): Builder

setTitlePadding

sets the padding of the title.

fun setTitlePadding(value: Int): Builder

setTitleSize

sets the size of the title.

fun setTitleSize(value: Float): Builder

setTitleStyle

sets the Typeface of the title.

fun setTitleStyle(value: Int): Builder

setTitleTypeface

sets the Typeface of the title.

fun setTitleTypeface(value: Typeface?): Builder