上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: app.js Titanium.UI.setBackgroundColor("#000");var tabGroup = Titanium.UI.createTabGroup();var toursWindow = Titanium.UI.createWindow({ title:"Tours", backgroundColor:"#FFFFFF", //因为 wind... 阅读全文
posted @ 2012-03-17 12:44 校长阿四 阅读(714) 评论(0) 推荐(0) 编辑
摘要: Titanium.UI.setBackgroundColor("#000");// 创建 tab groupvar tabGroup = Titanium.UI.createTabGroup();//第一件事你要注意当 Tab Groups开始工作的时候//tab group 函数作为控制 "window"//每一个 tab 有自己的 window 作为一个单独的运行环境//要记住... 阅读全文
posted @ 2012-03-17 11:26 校长阿四 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-03-17 01:11 校长阿四 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-03-17 01:09 校长阿四 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 该功能无法再android使用,只能在ios上正常显示 var win = Titanium.UI.createWindow({ title:"Configuring text field and text area keyboard types", backgroundColor:"#FFF", exitOnClose:true});//These buttons will appear... 阅读全文
posted @ 2012-03-17 01:02 校长阿四 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 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, ... 阅读全文
posted @ 2012-03-17 00:55 校长阿四 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-03-17 00:49 校长阿四 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-03-17 00:43 校长阿四 阅读(1041) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2012-03-17 00:37 校长阿四 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 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, ... 阅读全文
posted @ 2012-03-17 00:30 校长阿四 阅读(587) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页