Android Question Activity.AddMenuItem2 not showing icon

Devv

Active Member
Licensed User
this is what i tried

B4X:
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.AddMenuItem2("test","test",LoadBitmap(File.DirAssets,"test.png"))
End Sub

the project
 

Attachments

Devv

Active Member
Licensed User
Icons in the overflow menu are not visible in Android 4 theme. You need to use AddMenuItem3 and add them to the action bar.
i dont use the activity bar, this is what my project use:
#IncludeTitle: false
 
Top