TabHost.NewTabSpec(String) Method

Definition

Creates a new TabSpec associated with this tab host.

[Android.Runtime.Register("newTabSpec", "(Ljava/lang/String;)Landroid/widget/TabHost$TabSpec;", "GetNewTabSpec_Ljava_lang_String_Handler")]
public virtual Android.Widget.TabHost.TabSpec NewTabSpec (string tag);
[<Android.Runtime.Register("newTabSpec", "(Ljava/lang/String;)Landroid/widget/TabHost$TabSpec;", "GetNewTabSpec_Ljava_lang_String_Handler")>]
abstract member NewTabSpec : string -> Android.Widget.TabHost.TabSpec
override this.NewTabSpec : string -> Android.Widget.TabHost.TabSpec

Parameters

tag
String

tag for the tab specification, must be non-null

Returns

Attributes

Remarks

Java documentation for android.widget.TabHost.newTabSpec(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to