setTitle

abstract fun setTitle(title: CharSequence)(source)

Set the action bar's title. This will only be displayed if DISPLAY_SHOW_TITLE is set.

Parameters

title

Title to set

See also


abstract fun setTitle(@StringRes resId: Int)(source)

Set the action bar's title. This will only be displayed if DISPLAY_SHOW_TITLE is set.

Parameters

resId

Resource ID of title string to set

See also