setTitle

fun setTitle(title: String?): TextView?

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

Parameters

title

The title string to display.