When I try to add a ButtonBar in a view or window I always get a "Force close" message.
var win = Titanium.UI.createWindow({title:'Tab 1',backgroundColor:'#fff'}); var toolbarview = Ti.UI.createView({ backgroundColor:'#21BD15', height:100, width:400, top:0, right:0 }); var buttonBar = Titanium.UI.createButtonBar({id:'buttonbar', labels:['Left', 'Right'],backgroundColor:'#336699'}); toolbarview.add(buttonBar); win.add(toolbarview); win.open();Any help would be really appreciated.