"Global" Android Menu

You must Login before you can answer or comment on any questions.

hi,

I would like to create a "global" Android Menu (connected to the hardware menu button). Do I need to create a menu for every heavyweight window? I need several heavyweights to prevent exitOnClose.

1 Answer

Accepted Answer

Menu's are tied to Activities. So yes you need to define the menu for each heavyweight window. Typically though, the set of menu items should be different for each Activity.

— answered 2 years ago by Don Thorp
answer permalink
1 Comment
  • Is it possible to be notified if an activity changes? So I can 'renew' the binding of the menu to the new activity.

    — commented 2 years ago by Christopher Marquardt

Your Answer

This question has been locked and cannot accept new answers.