By default when you add items in Android’s action bar, the icon will not be shown if it will be shown as overflow.

To make sure an icon appears beside the menu item label like this:

android_menu_overflow

Add a sub menu tag within the item tag like this:

Since this menu item in the action bar is forced to become overflow permanently (appear as icon all the time), I extracted the PNG file ic_action_overflow from the Android menu icon pack and set it to this menu item.

This is it. The XML code above should display the way as the image posted above.

Related Posts Plugin for WordPress, Blogger...