How to style the Action Bar Overflow on devices with a hardware menu button?
this is how I style the Action Bar Overflow on stock android:
<style name="DropDownNav.MyTheme"
parent="@android:style/Widget.Holo.Light.Spinner">
<item name="android:popupBackground">@drawable/menu_dropdown_panel</item>
<item
name="android:dropDownSelector">@drawable/selectable_background</item>
</style>
But the specified custom selector is not applied to the popup options menu
on Samsung devices with a hardware button, instead it is default blue.
I've seen this answer and tried to apply
<style name="ListPopupWindow.IvuTheme"
parent="android:Widget.ListPopupWindow">
<item
name="android:dropDownSelector">@drawable/list_selector_holo_light</item>
<item
name="android:listSelector">@drawable/list_selector_holo_light</item>
</style>
but to no effect.
What style do I need to inherit (and what is the corresponding attribute
in my theme) in order to change the selector in the latter hardware button
options menu?
Thanks for any advice
No comments:
Post a Comment