Android.Widget.TabHost.Setup Method

Syntax

[Android.Runtime.Register("setup", "()V", "GetSetupHandler")]
public virtual void Setup ()

Remarks

Call setup() before adding tabs if loading TabHost using findViewById(). However: You do not need to call setup() after getTabHost() in Android.App.TabActivity. Example:

java Example

mTabHost = (TabHost)findViewById(R.id.tabhost);
mTabHost.setup();
mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1");

[Android Documentation]

Requirements

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