Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to force the Options Menu to be shown on Android

Tags:

android

I want to show the options menu of an Activity to be displayed on an event. This is the menu that is shown on click of the Menu button on the handset.

Thanks

like image 267
Arun Avatar asked Feb 24 '23 08:02

Arun


1 Answers

for open menu on any event so u need add this code in even

openOptionsMenu();
like image 160
Niranj Patel Avatar answered May 14 '23 09:05

Niranj Patel