Phil
Phil

Reputation: 583

Android - Display menu without title bar or having menu button

How can I display a menu in my application when I don't have a hardware menu button on my phone and when I hide the titlebar?

Upvotes: 1

Views: 1269

Answers (1)

TomTasche
TomTasche

Reputation: 5526

To answer to your question: you can open the menu programmatically using openOptionsMenu().

However, you probably should include a ActionBar instead, as suggested in the comments.

Upvotes: 2

Related Questions