@Erel - I would love it if you also added the ability to use valid XML to create menus.
Something like this:
Null would indicate an empty menu.
(Also, the word valid is bold because the JSON used to create menus isn't valid JSON )
Something like this:
B4X:
<Menu Text="File">
<MenuItem Text="Quit"></MenuItem>
</Menu>
<Menu Text="Tools">
<MenuItem Text="Tool 1" tag="Menu Item with tag!"></MenuItem>
<MenuItem CheckBox="Checkbox Text" Selected="True"></MenuItem>
<MenuItem Text="Hello World!" EventName="HelloWorld"></MenuItem>
</Menu>
<Menu Text="Empty Menu">Null</Menu>
(Also, the word valid is bold because the JSON used to create menus isn't valid JSON )