Reputation: 441
I have added a command to the right on the toolbar as follows
Now I when I click on the 3-dot command, I would like to show a button to logout as follows
I tried with Dialog and InteractionDialog and I am not able to achieve this. I am looking for some guidance/help to achieve this. Please advise.
Thank you.
Upvotes: 1
Views: 237
Reputation: 1907
Please try addCommandToOverflowMenu as shown in below
Command logoutCommand = new Command("Logout");
toolbar.addCommandToOverflowMenu(logoutCommand);
Upvotes: 3