I tried using the MenuInflation off of the android developers site:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.game_menu, menu);
return true;
}
with an xml in the res/meno directory by the name of game_menu.
when I try to compile this, i get an error saying that the symbol
'menu' on line
inflater.inflate(R.menu.game_menu, menu);
can not be found.
I have all of my imports set, the code shows no errors, just will not
compile.
Any and all help is greatly appreciated.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en