Search code examples
titaniumappceleratorappcelerator-mobiletitanium-mobile

Titanium: How to remove background of Search bar?


How can I remove the background of search bar ? I tried by changing background color but it also changes cancel button's color !!!

enter image description here

Thanks...


Solution

  • The best alternative to this is creating a custom search bar with Ti.UI.textField and Ti.UI.button. Add them both to a view and customize it as you please. Finally, just add an event listener to the button click, and voila!