Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 3rd, 2012  |  syntax: None  |  size: 0.45 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (function() {
  2.        
  3.         bh.ui = {};
  4.        
  5.         bh.ui.createAppTabGroup = function() {
  6.                
  7.                 var tabs = Titanium.UI.createTabGroup();
  8.                
  9.                 tabs.addTab(Titanium.UI.createTab({
  10.                         title: L('Fugitives'),
  11.                         window: Titanium.UI.createWindow({
  12.                                 title: L('Fugitives')
  13.                         })
  14.                 }));
  15.                
  16.                 tabs.addTab(Titanium.UI.createTab({
  17.                         title: L('Captured'),
  18.                         window: Titanium.UI.createWindow({
  19.                                 title: L('Captured')
  20.                         })
  21.                 }));
  22.                
  23.                 return tabs;
  24.                
  25.         };
  26.        
  27. })();