Created
July 27, 2012 19:16
-
-
Save scottferg/3189926 to your computer and use it in GitHub Desktop.
MenuInflater example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean onCreateOptionsMenu(Menu aMenu) { | |
MenuInflater inflater = getMenuInflater(); | |
inflater.inflate(R.menu.my_main_menu, aMenu); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment