setText

Set the text displayed on this tab. Text may be truncated if there is not room to display the entire string.

Return

The current instance for call chaining

Parameters

text

The text to display


open fun setText(resId: Int): ActionBar.Tab(source)

Set the text displayed on this tab. Text may be truncated if there is not room to display the entire string.

Return

The current instance for call chaining

Parameters

resId

A resource ID referring to the text that should be displayed