I want to change the color of a text in an ActionBarSherlock SearchView
, so I found this on StackOverflow:
AutoCompleteTextView searchText = (Au
other way, work for me
@Override
public boolean onCreateOptionsMenu(Menu menu) {
searchView = new SearchView(getSupportActionBar().getThemedContext());
AutoCompleteTextView searchText = (AutoCompleteTextView) searchView.findViewById(R.id.abs__search_src_text);
searchText.setTextColor(Color.BLACK);
.....................
}