Android Question activity menu

jayel

Active Member
Licensed User
Longtime User
Hello,

I know that when you have to add a menuitem, it is done in the Activity_Create event.
Is there a way (new lib, or ...) that will let you add menu items when you for example click a button?
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
Sub button_click
    Activity.AddMenuItem("Title","menutitle")
End Sub
?
 
Upvote 0

jayel

Active Member
Licensed User
Longtime User
No, like I said above, normally the only way to add menu items is in the Activity_Create event.
Or is this working for you?
 
Upvote 0
Top