I battled with this issue this evening for a couple of hours. I found myself having to go to extraordinary lengths for something that I thought should have “just worked”. I think an image best illustrates the issue (and not the ridiculous title of the article!)
As you can see the dark text on a dark background is very difficult to see and is definitely wrong. This is a known issue and isn’t helped by poor documentation for the Action Bar which shows the wrong way to do things. The solution is rather simple and it is that you should use getThemedContext() when you create the SpinnerAdapter that controls the drop-down navigation.
The wrong way
SpinnerAdapter navigationSpinnerAdapter = ArrayAdapter.createFromResource( this, R.array.lineNamesArray, android.R.layout.simple_spinner_dropdown_item);
The correct way
SpinnerAdapter navigationSpinnerAdapter = ArrayAdapter.createFromResource( getActionBar().getThemedContext(), R.array.lineNamesArray, android.R.layout.simple_spinner_dropdown_item);
When you use the correct context you should end up with something like this: