how can two sidemenus be used in codenameone?

五迷三道 提交于 2019-12-07 18:38:55

问题


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.


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!