Share via


TabHost.AddTab(TabHost+TabSpec) Method

Definition

Add a tab.

[Android.Runtime.Register("addTab", "(Landroid/widget/TabHost$TabSpec;)V", "GetAddTab_Landroid_widget_TabHost_TabSpec_Handler")]
public virtual void AddTab (Android.Widget.TabHost.TabSpec? tabSpec);
[<Android.Runtime.Register("addTab", "(Landroid/widget/TabHost$TabSpec;)V", "GetAddTab_Landroid_widget_TabHost_TabSpec_Handler")>]
abstract member AddTab : Android.Widget.TabHost.TabSpec -> unit
override this.AddTab : Android.Widget.TabHost.TabSpec -> unit

Parameters

tabSpec
TabHost.TabSpec

Specifies how to create the indicator and content.

Attributes

Remarks

Java documentation for android.widget.TabHost.addTab(android.widget.TabSpec).

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