2011-12-19 41 views

回答

0
var r_view = Ti.UI.createView({ 
    top:2, 
     height:100, 
    width:Ti.Platform.displayCaps.platformWidth, 
    borderColor:'#225A94', 
    backgroundColor:'#EEF5FB', 
    borderRadius:8, 
    borderWidth:1 
}); 

//Add in window name 
win.add(r_view); 
+5

無用答案。 – 2012-02-20 09:28:05

0
var new_view = Ti.UI.createView({ 
    top:20, 
    left:20, 
    height:200, 
    width:200, 
    backgroundColor:'#000000' 
}); 

//Add this to window 
win.add(new_view) 
相關問題