TabSpec

Class of android.widget, in TabHost · TabHost.java · Android's reference

public class TabSpec

A tab: its tag, its indicator in the TabWidget, and its content.

Methods

public TabSpec setIndicator(CharSequence label) source
public TabSpec setIndicator(CharSequence label, Drawable icon) source
public TabSpec setIndicator(View view) source
public TabSpec setContent(int viewId) source
public TabSpec setContent(TabContentFactory contentFactory) source
public TabSpec setContent(Intent intent) source

An activity in a tab needs a LocalActivityManager, which the runtime does not have: the tab shows nothing.

public String getTag() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.