Fwiw, you can just replace the entire menu view with your own so your custom
UI slides out like a normal menu instead of popping up a dialog.  This would
give an experience much more consistent with what users expect.

On Thu, Dec 18, 2008 at 4:34 PM, Mark Murphy <[email protected]>wrote:

>
> the.victim wrote:
> > don't know the advantages of your solution Mark, but the solution of
> > mscwd01 was not that wrong.
> > just moving the dialog.show() to the overriden method
> > onPrepareOptionsMenu(Menu menu) would have done the job. oncreatemenu
> > is just called once.
>
> There might be side-effects of pretending to go through the normal menu
> system when you're not planning on actually presenting a real menu.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 2009
> http://www.bignerdranch.com/schedule.shtml
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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