Q:

Android action bar - disable options menu

How can I disable options menu item from my action bar? 
I made my own custom bar, for display *.png logo, but i don't want to display three dots button of options menu. 
I've tried to find some solution, but nothing works.

A:

Code Monkey's answer will do what you want, but as a side effect it will also not allow you to add ANY action items to the Action Bar at all. I believe the correct answer is
@Override
public boolean onPrepareOptionsMenu (Menu menu) {
    return false;
}

This is what you want.

A:

Simply remove the public boolean onCreateOptionsMenu(Menu menu) method from your Activity.

