问题
On Honeycomb, when the options are hidden (not ifRoom), they are displayed in a Spinner in an option menu. I simply would like to know how to change the icon of this option menu (furthest to the right). By default, the icon is just three lines and 3 dots on ICS.
Thanks !
回答1:
See more attributes from your android sdk installation, in platforms/android-XX/data/res/values/style.xml
Here is menu overflow action button style definition:
<style name="Widget.Holo.ActionButton.Overflow">
<item name="android:src">@android:drawable/ic_menu_moreoverflow_holo_dark</item>
<item name="android:background">?android:attr/actionBarItemBackground</item>
<item name="android:contentDescription">@string/action_menu_overflow_description</item>
</style>
回答2:
Here is the officialy documentation telling you how to customize the action bar to the up most.
Customizaing the action bar
来源:https://stackoverflow.com/questions/8506184/how-to-change-the-option-menu-icon-in-the-action-bar