Showing posts with label Changing overflow icon in the action bar. Show all posts
Showing posts with label Changing overflow icon in the action bar. Show all posts

Thursday, 28 May 2015

Changing overflow icon in the action bar

You can with a style, but you have to add it to the main Theme declaration.

<resources> 

<!-- Base application theme. -->

<style name="Your.Theme" parent="@android:style/Theme.Holo">

<!-- Pointer to Overflow style ***MUST*** go here or it will not work --> 

<item name="android:actionOverflowButtonStyle">@style/OverFlow</item> 

</style> 

<!-- Styles --> 

<style name="OverFlow" parent="@android:style/Widget.Holo.ActionButton.Overflow"> 

<item name="android:src">@drawable/ic_action_overflow</item> 

</style>

</resources>