how can two sidemenus be used in codenameone?

2019-05-21 02:35发布

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条回答
再贱就再见
2楼-- · 2019-05-21 02:55

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.

查看更多
登录 后发表回答