addTab

open fun addTab(tab: ActionBar.Tab)(source)

Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list. If this is the first tab to be added it will become the selected tab.

Parameters

tab

Tab to add


open fun addTab(tab: ActionBar.Tab, position: Int)(source)

Add a tab for use in tabbed navigation mode. The tab will be inserted at position. If this is the first tab to be added it will become the selected tab.

Parameters

tab

The tab to add

position

The new position of the tab


open fun addTab(tab: ActionBar.Tab, setSelected: Boolean)(source)

Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.

Parameters

tab

Tab to add

setSelected

True if the added tab should become the selected tab.


open fun addTab(tab: ActionBar.Tab, position: Int, setSelected: Boolean)(source)

Add a tab for use in tabbed navigation mode. The tab will be inserted at position.

Parameters

tab

The tab to add

position

The new position of the tab

setSelected

True if the added tab should become the selected tab.