It took some digging, but I figured this out eventually.Either only popupMenuStyle
or popupWindowStyle
needs to be overwritten. I can't remember which one at the moment.
I'm not sure that this works with the AppCompat library, especially using listChoiceBackgroundIndicator
. I haven't tested it on anything that targets something less than 14.
<style name="Theme.MyAppTheme" parent="android:Theme.Holo.Light">
<item name="android:popupMenuStyle">@style/MyAwesomeBackground.PopupStyle</item>
<item name="android:popupWindowStyle">@style/MyAwesomeBackground.PopupStyle</item>
<item name="android:textAppearanceLargePopupMenu">@style/CustomTextStyle</item>
<item name="android:textAppearanceSmallPopupMenu">@style/CustomTextStyle</item>
<item name="android:listChoiceBackgroundIndicator">@drawable/custom_list_selector</item>
</style>
<style name="AwesomeBackground.PopupStyle" parent="Widget.PopupMenu">
<item name="android:popupBackground">@drawable/custom_background</item>
</style>
<style name="CustomTextStyle">
<!-- some custom text stylings -->
</style>