在Titanium中,如何在指定位置添加 View ?如android adk addView(view, index)中的方法;
最佳答案
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);
关于android - 在Titanium中,如何在指定位置添加 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8556857/