setTitle

open fun setTitle(@StringRes resId: Int)

Set the title of the navigation bar.

Parameters

resId

The resource id of the title.


open fun setTitle(@Nullable title: CharSequence)

Set the title of the navigation bar.

Parameters

title

The title of the navigation bar.