I am adding simple menu for my application using following code in Activity_Create Sub:
It's working as expected except that resulting menu is a bit wide... All menu items (labels) occupied only
less then 40% of menu width - rest just empty space for each entry... Could you please advice if there is any way to control how menu would look like - and is it possible to make it for example as wide as longest menu entry i.e. "Method" in my case...
B4X:
Activity.AddMenuItem("Method")
Activity.AddMenuItem("Help")
Activity.AddMenuItem("Reset")
Activity.AddMenuItem("Exit")
less then 40% of menu width - rest just empty space for each entry... Could you please advice if there is any way to control how menu would look like - and is it possible to make it for example as wide as longest menu entry i.e. "Method" in my case...