setSubTitle

fun setSubTitle(subTitle: String?, subTitleMaxLines: Int)

Sets the subtitle text to be shown in the title area. If the subtitle is null or empty, the subtitle view will be hidden.

Parameters

subTitle

The subtitle string to display.

subTitleMaxLines

The maximum number of lines the title text can span.