I'm trying to change the background color and text color of the overflow menu with limited success.
<style name="Theme.MyTheme4" parent="Theme.Sherlock.ForceOverflow">
<item name="actionBarStyle">@style/Widget.MyTheme3.ActionBar</item>
<item name="android:actionBarStyle">@style/Widget.MyTheme3.ActionBar</item>
<item name="android:dropDownListViewStyle">@style/Theme.MyTheme4.ListView.DropDown</item>
<item name="dropDownListViewStyle">@style/Theme.MyTheme4.ListView.DropDown</item>
</style>
The actionBarStyle is used to set a background on the actionbar, and that works fine.
Overflow menu background
The dropDownListViewStyle is used to set a background on the overflow menu, and that also works fine on all my devices EXCEPT in the Android 4.0.3 emulator.
I don't have an actual Android 4.0.3 device so I wonder if the background will be set correctly on such a device, or if this is just an emulator issue (like the fact that the overflow 3-button icon is never shown).
The background is being set correctly on an actual Android 4.0.4 device. (and also on Android 2.x devices).
Overflow menu text color
I've tried many things, but I'm unable to change the text color of the actual overflow menu items. I've only managed to set them to either black or white by changing the parent theme (Theme.Sherlock.ForceOverflow for white text, Theme.Sherlock.Light.ForceOverflow for black text).
How can I set the text color of the overflow menu item to a different color ? There was an earlier thread here discussing the same thing but no final solution was provided.
Thanks in advance...