Skip to end of metadata
Go to start of metadata

Demonstrates basic use of TabbedBar control.

Example App Source Location


You can find this example app in the Alloy repository under samples/apps/ui/tabbedbar. Check the instructions how to run these sample projects.

TabbedBar is a ButtonBar that maintains its state, selected or unselected. See ButtonBar for information on styling both tabbed bars and buttons bars.

The main index.xml view defines a TabbedBar that contains five <Label/> elements.


The view-controller displays an alert dialog that indicates the index of the item that was clicked in the TabbedBar.


See also

  • No labels