摘要:
app.js Titanium.UI.setBackgroundColor("#000");var tabGroup = Titanium.UI.createTabGroup();var toursWindow = Titanium.UI.createWindow({ title:"Tours", backgroundColor:"#FFFFFF", //因为 wind... 阅读全文
摘要:
Titanium.UI.setBackgroundColor("#000");// 创建 tab groupvar tabGroup = Titanium.UI.createTabGroup();//第一件事你要注意当 Tab Groups开始工作的时候//tab group 函数作为控制 "window"//每一个 tab 有自己的 window 作为一个单独的运行环境//要记住... 阅读全文
摘要:
阅读全文
摘要:
var win = Titanium.UI.createWindow({ title:"Adding Interactivity to Any View", backgroundColor:"#FFFFFF", exitOnClose:true})var view = Titanium.UI.createView({ top:0, left:0, height:54, width:"10... 阅读全文
摘要:
该功能无法再android使用,只能在ios上正常显示 var win = Titanium.UI.createWindow({ title:"Configuring text field and text area keyboard types", backgroundColor:"#FFF", exitOnClose:true});//These buttons will appear... 阅读全文
摘要:
var win = Titanium.UI.createWindow({ title:"Configuring text field and text area keyboard types", backgroundColor:"#FFF", exitOnClose:true});var textField = Titanium.UI.createTextField({ top:75, ... 阅读全文
摘要:
var win = Titanium.UI.createWindow({ title:"Creating Text Fields and Text Areas", backgroundColor:"#FFFFFF", exitOnClose:true})//var textField1 = Titanium.UI.createTextField({ top:60, height:6... 阅读全文
摘要:
var win = Titanium.UI.createWindow({ title:"Creating a Date/Time Picker", backgroundColor:"#FFFFFF", exitOnClose:true});//We'll use Javascript's Date object within the date pickervar minDate = ne... 阅读全文
摘要:
var win = Titanium.UI.createWindow({ title:"Creating a Multi-Column Picker", backgroundColor:"#FFFFFF", exitOnClose:true});//To save time, we are going to create an array of objects to populate o... 阅读全文
摘要:
var win = Titanium.UI.createWindow({ title:"Creating a Single-Column Picker", backgroundColor:"#FFF", exitOnClose:true});//A single column pickervar picker = Titanium.UI.createPicker({ bottom:0, ... 阅读全文