java.lang.Object | |
↳ | com.droidux.pack.commons.widget.tabs.ScrollableTabHost.TabSpec |
A tab has a tab indicator, content, and a tag that is used to keep
track of it. This builder helps choose among these options.
For the tab indicator, your choices are:
1) set a label
2) set a label and an icon
For the tab content, your choices are:
1) the id of a View
2) a ScrollableTabHost.TabContentFactory
that creates the View content.
3) an Intent that launches an Activity.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specify the id of the view that should be used as the content
of the tab.
| |||||||||||
Specify a TabHost.TabContentFactory to use to
create the content of the tab.
| |||||||||||
Specify an intent to use to launch an activity as the tab content.
| |||||||||||
Specify a label as the tab indicator.
| |||||||||||
Specify a view as the tab indicator.
| |||||||||||
Specify a label and icon as the tab indicator.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Specify the id of the view that should be used as the content of the tab.
Specify a TabHost.TabContentFactory to use to create the content of the tab.
Specify an intent to use to launch an activity as the tab content.
Specify a label as the tab indicator.
Specify a view as the tab indicator.
Specify a label and icon as the tab indicator.