Android Question menu confusion

Discussion in 'Android Questions' started by mrossen, Apr 9, 2015.

  1. mrossen

    mrossen Active Member Licensed User


    I am a bit confused about what I think is a simple thing

    I use this code:
    Dim bd As BitmapDrawable
    Dim ph As Phone
        bd = ph.GetResourceDrawable(
    Activity.AddMenuItem3("Preferences""Prefs", bd.Bitmap,True)
    to add a menu item.

    According to the help text the icon should we shown in the action bar, if there is Space for it, as I understand it. But it are shown in the bottom, not in the top bar as I expected.

    When I turn the phone to landscape it Works like i will have it to.

    The app uses the StdActionBar, if that have any difference.


    Attached Files:

    • fc1.png
      File size:
      66.7 KB
  2. mrossen

    mrossen Active Member Licensed User

    RandomCoder likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice