Android Guides | Samples

Android.App.ActionBar.Tab.SetText Method

Set the text displayed on this tab.

Syntax

[Android.Runtime.Register("setText", "(I)Landroid/app/ActionBar$Tab;", "GetSetText_IHandler")]
public abstract ActionBar+Tab SetText (Int32 resId)

Parameters

resId
A resource ID referring to the text that should be displayed

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11