Skip to content

Instantly share code, notes, and snippets.

@kaochenlong
Created July 15, 2011 07:37
Show Gist options
  • Save kaochenlong/1084252 to your computer and use it in GitHub Desktop.
Save kaochenlong/1084252 to your computer and use it in GitHub Desktop.
Titanium.UI.setBackgroundColor('#fff');
var tabGroup = Titanium.UI.createTabGroup();
var my_window = Titanium.UI.createWindow({
title:'This is my window',
url:'views/my_window.js'
});
var my_tab = Titanium.UI.createTab({
title:"Main Window",
window:my_window
});
tabGroup.addTab(my_tab);
tabGroup.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment