Android Question ActivityMenuItem and Icon on ActionBar

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hello,
using ActionBar/Sliding panel library, if I set this
B4X:
Activity.AddMenuItem("Crash", "bt1")
Activity.AddMenuItem("Documents", "bt2")
Activity.AddMenuItem2("Facebook", "btFace", LoadBitmap(File.DirAssets, "facebook.png"))

the icon in the third menuitem isn't display. It is normal?
 

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Yes, I'm testing on Android 4+ device?
But, there isn't the possibility to view the icon, even if I use Activity.AddMenuItem2?

Also because, if I set more than 3 Activity.AddMenuItem3 each one with different icons, there are displayed only the first 2/3 icon and the others one not :(
 
Upvote 0

ciarli

Member
Licensed User
Longtime User
Upvote 0
Top