I want to change the color of a text in an ActionBarSherlock SearchView, so I found this on StackOverflow:
AutoCompleteTextView searchText = (AutoCompleteTextView) searchView.findViewById(R.id.abs__search_src_text);
searchText.setHintTextColor(getResources().getColor(R.color.white));
searchText.setTextColor(getResources().getColor(R.color.white));    
But the problem is that searchText is null always. Also I tried with search_src_text (no abs__) - again, searchText is null.
I use Sherlock for my ActionBar (having custom view for the actionbar) but I also want the text color of the search view to be changed.
Anything I don't get?
 
     
    