Android ICS Options menu with images

I am new to android.

How can I create a settings menu with images, for example, in an attached image? Do I need to use the action bar or normal onCreateOptionMenu will do?

enter image description here

+4
source share
1 answer

If you have developed an application for Android 3.0 (API level 11) and higher, items from the options menu are available in the action bar. By default, the system places all elements in an action overflow that the user can open using the action overflow icon on the right side of the action panel (or by pressing the device’s menu button, if available). To provide quick access to important actions, you can promote several items to appear in the action bar by adding android: showAsAction = "ifRoom" to the corresponding items.

You can learn more about this doc .

+1
source

All Articles