MobDev wrote:
> Hi,
> 
> I have implemented a Menu within an Activity, but I'd like this Menu
> to exist throughout my whole application...
> How can thsi be achieved ? Should I be placing the
> public boolean onCreateOptionsMenu(Menu menu)
> method within every single Activity or is there some way to "share"
> the menu ?

Use inheritance if you can (implement onCreateOptionsMenu() on some
class and have your other activities inherit from it).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to