我需要删除文本字段的边框. Titanium Text字段的默认边框样式为Titanium.UI.INPUT_BORDERSTYLE_NONE.但它仅默认为iPhone. 我也转过borderColor =’white’,这是我的backgroundColor.但是不起作用. 有解决方案
          Titanium Text字段的默认边框样式为Titanium.UI.INPUT_BORDERSTYLE_NONE.但它仅默认为iPhone.
我也转过borderColor =’white’,这是我的backgroundColor.但是不起作用.
有解决方案吗 您只需设置textField的backgroundColor属性即可.您可以将其设置为白色或透明
这是一个例子
var txtSome = Ti.UI.createTextField({
   hintText : 'My hint text',
   width     : '75%',
   top   : '5%',
   backgroundColor : 'transparent'//or backgroundColor : 'white'
}); 
 我知道为时已晚.但是会帮助其他人.
