hello;
I create some manu items.
So I want to, some times menu showable sometimes it not show.
How is can ??
I create some manu items.
B4X:
Activity.AddMenuItem2("1 title","1deneme",LoadBitmap(File.DirAssets,"files-icon.png"))
Activity.AddMenuItem2("11 title","11deneme",LoadBitmap(File.DirAssets,"files-icon.png"))
Activity.AddMenuItem2("12 title","12deneme",LoadBitmap(File.DirAssets,"files-icon.png"))
B4X:
dim shw_menu as boolean
shw_menu=true ' or false
if shw_memu then
'... menu can show (disable=true)
' ????code ...(you said to me)
else
' --- menu con not show (disable=false)
' ????code ...(you said to me)
end if
How is can ??