How can I trigger the Android onCreateOptionsMenu function in my code, that is without the user clicking on the options menu button on their phone?
Activity.openOptionsMenu();
does the trick
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With