iPhoneWebkit JavaScriptCore engine |
AndroidGoogle V8 engine |
var win1 = Titanium.UI.createWindow({
title:'Win 1',
backgroundColor:'#fff'
});
var label1 = Titanium.UI.createLabel({
text:'Hello world!',
textAlign:'center',
color:'#999',
width:'auto'
});
win1.add(label1);
win1.open();
#font_label_test {
font-size:'15px';
font-weight:'normal';
top:10;
color:'#369';
width:'200px';
height:'150px';
text-align:'center';
}
Ti.API.log()
or alert()
Too long for lightning talk
— ask us during coffeebreak!
Andrew Druchenko |
Use a spacebar or arrow keys to navigate