I’m building a MAUI app for android devices that have physical keyboard (and want to open menu by using hotkeys). I know how to handle keyboard but I just can’t find a way to open menu (3 dots) programmatically :
enter image description here
I’m not using shell. Menu items are added on xml side as: <ToolbarItem Order=”Secondary” …
Any ideas ?
I’ve tried to open it by using
Platform.CurrentActivity.OpenOptionsMenu();
Platform.CurrentActivity.OpenContextMenu();
It doesn’t do anything tho.
Viri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.