(Android) Displays a list of tab labels representing each page in the parent's tab collection.
(Android) Displays a list of tab labels representing each page in the parent's tab collection.
The container object for this widget is TabHost. When the user selects a tab, this object sends a message to the parent container, TabHost, to tell it to switch the displayed page. You typically won't use many methods directly on this object. The container TabHost is used to add labels, add the callback handler, and manage callbacks. You might call this object to iterate the list of tabs, or to tweak the layout of the tab list, but most methods should be called on the containing TabHost object.
Reference: http://developer.android.com/reference/android/widget/TabWidget.html