Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Styling the SearchBar breaks the App. Any idea why?

$
0
0

Hello,

I am porting an app to android from iOS and when I try to style a searchBar the app breaks with the message

Unfortunatelly AppName has stopped
The code I am using is the following
var search = Titanium.UI.createSearchBar({
            barColor : '#CCC',
            borderWidth : 0,
            borderColor: '#fff',
            showCancel : false,
            hintText : 'search producs'
        });
When I remove borderWitdh and borderColor it works fine.

Any idea why?

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>