Hi,
I am a bit confused about what I think is a simple thing
I use this code:
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.
Mogens
I am a bit confused about what I think is a simple thing
I use this code:
B4X:
Dim bd As BitmapDrawable
Dim ph As Phone
bd = ph.GetResourceDrawable(17301577)
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.
Mogens