I have two menu items that have icons on the Action bar that are too close together to allow for user mistakes.
To get around this, I have added a third "Blank" menu with a blank icon which sits between the other two. The code is:
Is there a better way to create space between menu the icons? What I have works, but I would like the space between the two active menu items to be about half of what I have created here.
To get around this, I have added a third "Blank" menu with a blank icon which sits between the other two. The code is:
B4X:
' Activity Bar Menu Item for connections:
Activity.AddMenuItem3("Connections","Set_Connections",LoadBitmapResize(File.DirAssets, "icon-communication 32x32.png",28dip,28dip, True),True)
' Blank menu to provide some space between Connections and other menu icons
Activity.AddMenuItem3("","Blank", LoadBitmapResize(File.DirAssets, "tmm_blank.png",28dip,28dip, True),True)
' Activity Bar Menu Item to raise the Play Bar menu:
Activity.AddMenuItem3("Play Bar","PlayBar",LoadBitmapResize(File.DirAssets, "tmm_logoplay.png",28dip,28dip, True),True)