Android Question Not Show the Icon in Activity.AddmenuItem2

vbmundo

Well-Known Member
Licensed User
Hi,

I have 2 icons added in Files folder and Added in the Layout

But when I run this lines

B4X:
   Activity.AddMenuItem2("Save","Grabar",LoadBitmap(File.DirAssets,"diskette_icon.jpg"))
   Activity.AddMenuItem2("Delete","Borrar",LoadBitmap(File.DirAssets,"delete.png"))

I don't receive any error.

When I open the Activity menu no icons appears.

What's wrong ?

Regards
 

corwin42

Expert
Licensed User
Longtime User
The option menu does not have icons in Android (>3.x). The icons are only used if the items are shown as action items.
 
Upvote 0
Top