2012年1月11日 星期三

Titanium TabGroup

Set tabBarHidden:true will hide the tab bar at the bottom. but make sure all windows in tabGroup has this properties set to true.

var tabGroup = Ti.UI.createTabGroup({
});

//library tab
var library = Titanium.UI.createWindow({
url:'library.js',
title:'Library',
tabBarHidden:true,
});

var libraryTab = Ti.UI.createTab({
titleid:'Library',
window: library
});
tabGroup.addTab(libraryTab);

沒有留言:

張貼留言