Android Question Addmenuitem not showing three dots

jimseng

Active Member
Licensed User
Longtime User
Hi All
Perhaps I am out of date but I have:
B4X:
Sub Activity_Create(firsttime As Boolean)
    Dim pm As B4XPagesManager
    pm.Initialize(Activity)
Activity.LoadLayout("MainPage")
    MainTXTItem.InputType = Bit.Or(0x00004000, 0x00000001) 'TYPE_TEXT_FLAG_CAP_SENTENCES + TYPE_CLASS_TEXT
    Activity.AddMenuItem("New Menu test", "Newlist")
End Sub
I have a Motorolla G8. It has no buttons. I have an Activity title but I get no menu dots in the top right hand corner. Have I missed something?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Have I missed something?
Yes. You almost never need to add code to the Main module when using B4XPages.

 
Upvote 0
Top