Yeah, I had a separate menu in each of my Tabs, and so far they worked
flawlessly.

I'll have to read up on context menus a little more when I get the chance.
 Right now I have 2 Views with contextMenus called as
registerForContextMenu(View1); and  registerForContextMenu(View2); and
theyre both pulling up the same menu.


On Fri, Nov 20, 2009 at 3:53 PM, Mark Murphy <[email protected]>wrote:

> JasonMP wrote:
> > Heres another concern.  I previously had 2 separate contextmenus and 2
> > separate options menus for my first tab and my second tab.  Now that
> > they are in the same activity do they have to share the same menus?
>
> Option menu, yes; context menu, no. Option menus are per activity.
> Context menus are per widget, and your roster of widgets has not changed.
>
> BTW, did you actually had two separate option menus working, one per
> tab, defined via that tab's activity? I never tried that with
> activities-in-tabs. That'd be one benefit to having activities in tabs.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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

Reply via email to