g123k
g123k

Reputation: 3874

How to change the Option menu icon in the Action Bar?

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 !

Upvotes: 2

Views: 24351

Answers (2)

Dmitri Livotov
Dmitri Livotov

Reputation: 396

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>

Upvotes: 12

coder_For_Life22
coder_For_Life22

Reputation: 26991

Here is the officialy documentation telling you how to customize the action bar to the up most.

Customizaing the action bar

Upvotes: 1

Related Questions