I've attached some sample code for implementing an option menu.

Create a folder under resources called "menu".  Then create a new xml file
similar to the main_menu file attached.  Be sure to change the build action
on the xml file to "AndroidResource".  

See the attached MyActivity class to implement your menu.  If you want to
use the same menu on multiple activities, consider abstracting a base
activity to implement your menu.

Hope this helps.

http://mono-for-android.1047100.n5.nabble.com/file/n5029683/main_menu.txt
main_menu.txt 
http://mono-for-android.1047100.n5.nabble.com/file/n5029683/MyActivity.txt
MyActivity.txt 

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Menus-tp5029246p5029683.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to