UNPKG

alloy

Version:

TiDev Titanium MVC Framework

19 lines (17 loc) 435 B
<Alloy> <Window> <Toolbar> <!-- These get added to the Toolbar "items" array --> <Items> <Button>button 1</Button> <FlexSpace platform='ios'/> <Button>button 2</Button> </Items> <!-- additional views get added as normal, over the items, as per the documentation of the add() function. --> <!-- <View opacity="0.25" backgroundColor="#a00" width="50%"/> --> </Toolbar> </Window> </Alloy>