As long as you don't target HC (API 11), you will get the menu button. If
you do target HC, there will not be a menu button.
And what do you mean by saying you are calling onCreateOptionsMenu()? You
don't call that; it is called for you.
On Tue, Mar 8, 2011 at 3:04 PM, Mark Murphy wrote:
> On Tue, Mar 8, 2011 at 6:00 PM, Stephen Lebed wrote:
> > In my app I'm calling onCreateOptionsMenu() which works as expected on
> > pre 3.0 devices. When I run the app on the Xoom there isn't a menu
> > button displayed at the bottom of the screen to allow access to the
> > menu options.
>
> Are you sure? It looks like a miniature six-item options menu. It will
> appear as the right-most button in the roster of soft buttons on the
> left of the system bar.
>
> > Does anyone know how to force it to be displayed, or is
> > there something special I need to do to get the menu button to appear?
>
> No, it pretty much just works. This sample app, for example, shows an
> options menu and works fine on the XOOM:
>
> https://github.com/commonsguy/cw-android/tree/master/Menus/Inflation
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training Worldwide: 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
>
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. 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 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