Thanks for pointing that out, it was an oversight. But it still didn't solve
the problem.onCreateOptionsMenu isn't even called :/

On Thu, Sep 25, 2008 at 5:50 PM, Mark Murphy <[EMAIL PROTECTED]>wrote:

>
> Teo wrote:
> > Hi, here is my code
> >
> > private boolean populateMenu(Menu menu) {
> > boolean result = super.onCreateOptionsMenu(menu);
>
> Why are you calling super.onCreateOptionsMenu() from populateMenu()?
>
> > @Override
> > public boolean onCreateOptionsMenu(Menu menu) {
> > super.onCreateOptionsMenu(menu);
> > populateMenu(menu);
>
> Why are you calling super.onCreateOptionsMenu() twice, once here, and
> once in populateMenu()?
>
> I don't know if these are the source of your problem.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> Warescription: All titles, revisions, & ebook formats, just $35/year
>
> >
>


-- 
Teo (a.k.a. Teodor Filimon, Teominator)
Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com
GMT +2 (or PDT +10)

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to