Skip to content

Instantly share code, notes, and snippets.

@meeech
meeech / app.js
Created Oct 16, 2012 — forked from nauman/app.js
Titanium header - > title, content -> table, footer -> banner
View app.js
Ti.UI.setBackgroundColor('#000');
var win = Ti.UI.createWindow({
backgroundColor: 'red',
exitOnClose: true,
navBarHidden: true
});
var titleView = Ti.UI.createView({
backgroundColor: '#f00',
top: 0,
View app.js & countdown.js
//app.js
Titanium.UI.setBackgroundColor('#000');
//create window
var win = Titanium.UI.createWindow({
title:'Countdown Main',
modal: true,
exitOnClose: true
});
@meeech
meeech / app.js
Created Feb 7, 2012 — forked from pec1985/app.js
SmartLabel
View app.js
var UI = {};
var W = {};
var V = {};
var AUTODETECT_NONE = Ti.UI.iOS.AUTODETECT_NONE;
var AUTODETECT_ALL = Ti.UI.iOS.AUTODETECT_ALL;
var AUTODETECT_PHONE = Ti.UI.iOS.AUTODETECT_PHONE;
var AUTODETECT_LINK = Ti.UI.iOS.AUTODETECT_LINK;
var AUTODETECT_ADDRESS = Ti.UI.iOS.AUTODETECT_ADDRESS;
var AUTODETECT_CALENDAR = Ti.UI.iOS.AUTODETECT_CALENDAR;
You can’t perform that action at this time.