RAW
RAW

Reputation: 7825

How to start a optionsmenu on a onclick event

Is it possible to set a optionsmenu on a onclick event? If yes how can I do this i dont find anything on the google documations... :(

Upvotes: 0

Views: 245

Answers (2)

ilango j
ilango j

Reputation: 6037

call this on onclick

openOptionsMenu();

Upvotes: 1

Lukas Knuth
Lukas Knuth

Reputation: 25755

The Activity-class has the openOptionsMenu()-method which you can use.

Upvotes: 1

Related Questions