Hamburger Sidebar menu icon change

30 views
Skip to first unread message

jesl...@gmail.com

unread,
Nov 26, 2015, 5:18:52 AM11/26/15
to CodenameOne Discussions
Hi

I have one screen that uses the hamburger side menu. Would it be possible to change the current icon for the sidemenu into a more richer representation using a component (mixing with texts and and icon for example)?

Thanks.

Diamond

unread,
Nov 26, 2015, 5:38:50 AM11/26/15
to CodenameOne Discussions, jesl...@gmail.com
Hi,

With a bit of a hack, yes you can. Are you using Toolbar or normal SideMenu?

jesl...@gmail.com

unread,
Nov 26, 2015, 5:49:05 AM11/26/15
to CodenameOne Discussions
Hi Diamond,

I plan to use the new Toolbar API, however which one do you recommend for the job and how to perform the 'hack'?

Bryan Buchanan

unread,
Nov 26, 2015, 5:19:51 PM11/26/15
to CodenameOne Discussions
You can set the image in theme constants rightSideMenuImage and rightSideMenudPressImage
Reply all
Reply to author
Forward
0 new messages