Skip to content

Instantly share code, notes, and snippets.

@nazrdogan
Last active December 20, 2015 13:39
Show Gist options
  • Save nazrdogan/6140258 to your computer and use it in GitHub Desktop.
Save nazrdogan/6140258 to your computer and use it in GitHub Desktop.
Titanium DrillDown Menu
Titanium.UI.setBackgroundColor('#000');
// TAB GRUBU OLUŞTUR
var tabGroup = Titanium.UI.createTabGroup();
// ANA WİNDOW OLUŞTURULUR BUNU HTML'DE BODY GİBİ DÜŞÜNEBİLİRİSNİZ
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
title:'Tab 1',
window:win1
});
tabGroup.addTab(tab1);
tabGroup.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment