Android Question Addmenuitem does not work

grafsoft

Well-Known Member
Licensed User
Longtime User
Hi,
I fill a scrollview, and then I do this:
B4X:
Activity.Title=projecttitle
' Activity.Invalidate
Activity.AddMenuItem ("Kamera","kamera")
Activity.addmenuitem ("Logoff","logoff")

I see the scrollview, I see the title, but not the menu.

When I turn the phone, and portrait view becomes landscape, I call this code once again, and the menu appears.

What am I doing wrong?
 

grafsoft

Well-Known Member
Licensed User
Longtime User
I can, but now I am going to try AHQuickaction, which suits my needs better.

So I think I do not need any more help on that. If you are curious anyway, I will upload.

Thanks

Peter
 
Upvote 0
Top