I want to add sidemenus at both left and right side.How can it be done in codenameone ?
getToolbar().addCommandToSideMenu(new Command(" Menu 1 "));
I can left sidemenu by using above code and i want to add that on right also.
The Toolbar
class no longer supports the right side menu. This functionality has always been problematic and was deprecated a while back. We might re-introduce it with the new "on top" side menu rewrite but right now that functionality is too new.
来源:https://stackoverflow.com/questions/44259277/how-can-two-sidemenus-be-used-in-codenameone