Reputation: 908
I'm using ActionBarSherlock with the Theme.Sherlock.Light.DarkActionBar theme and the text in my AutoCompleteTextView is so the same colour as the background. I have tried calling setTextColour() and passing in the int referring to Black, but it doesn't seem to make any difference.
Is this a known bug? Or an unknown bug? Or am I just missing something?
Here's a screenshot showing how it looks when selected - which suggests it's not jut a case of being the same colour as the background:
Upvotes: 3
Views: 1088
Reputation: 4074
My issue seems unrelated to ABS. I came across the solution here:
http://code.google.com/p/android/issues/detail?id=5237
Using android.R.layout.simple_dropdown_item_1line instead of android.R.layout.simple_list_item_1 worked for me in all Android versions.
Upvotes: 3
Reputation: 76125
Are you using getSupportActionBar().getThemedContext()
for inflating the views in your adapter? The action bar context is different than the regular context since the colors are reversed.
Upvotes: 4