Page 1 of 1

Menus on Android

Posted: Sat Feb 15, 2020 3:41 pm
by evil
When creating menus, we have to use menubar.class
On Android, normally all menuitems are inside one single gadget.
With Hollywood applets instead you first need to select a menutitle (ie. "project") and then can select a menuitem.

Is there a possibility to use menus just like normal menus in other android apps?
Maybe somehow like the contextmenu, which only use the menu.class?

Best regards

George

Re: Menus on Android

Posted: Sat Feb 15, 2020 7:49 pm
by PEB
Check out the SingleMenu tag in the @DISPLAY preprocessor command.

Re: Menus on Android

Posted: Sun Feb 16, 2020 2:53 am
by evil
Does this work on RapaGUI, too?? Seems not to work here, but haven't invesigatet much more this evening...

Re: Menus on Android

Posted: Sun Feb 16, 2020 10:40 am
by airsoftsoftwair
evil wrote: Sun Feb 16, 2020 2:53 am Does this work on RapaGUI, too?? Seems not to work here, but haven't invesigatet much more this evening...
On RapaGUI you can set Window.SingleMenu (I) to achieve the same effect. It's not in the docs yet because it's a RapaGUI 2.0 feature but it is supported by Hollywood 8.0 because Hollywood 8.0 for Android contains a pre-release version of RapaGUI 2.0.

Re: Menus on Android

Posted: Sun Feb 16, 2020 2:32 pm
by evil
Cool! That works great!

Thanks a lot!!

Best regards

George