This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
Titanium.UI.setBackgroundColor('#000'); | |
var isAndroid = false; | |
if (Ti.Platform.name === 'android') { | |
isAndroid = true; | |
} | |
// create tab group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var spacer = Math.round(Ti.Platform.displayCaps.platformWidth*0.25); | |
var width = spacer-4; | |
var height = 36; | |
// TAB BAR | |
var tabBar = Ti.UI.createView({ | |
width:Ti.Platform.displayCaps.platformWidth, | |
height:40, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Asta ai in app.js: | |
Trebuie sa deschizi un window temporar din care apoi sa apelezi homewindow. | |
var tabGroup = Titanium.UI.createTabGroup(); | |
var homeWindow; | |
rootWindow = Titanium.UI.createWindow( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Filename: Call.js | |
* Author: Codeboxed | |
* URL: http://www.codeboxed.com | |
* Date: March 26, 2011 | |
* Platform: Titanium | |
*/ | |
/** | |
* Call |
OlderNewer