Android Text Box Titanium Style for Android

I need to remove a border for a text box. The default border style for the Titanium text box is Titanium.UI.INPUT_BORDERSTYLE_NONE . But by default, this is only the iPhone. I also included borderColor = 'white' , which was my backgroundColor. But does not work. Any solutions?

+4
source share
1 answer

You can do this simply by setting the backgroundColor property of your text box. You can set it as white or transparent

enter image description here

Here is an example

 var txtSome = Ti.UI.createTextField({ hintText : 'My hint text', width : '75%', top : '5%', backgroundColor : 'transparent'//or backgroundColor : 'white' }); 

I know this is too late. But someone else will help.

+8
source

All Articles