Michal W
Michal W

Reputation: 803

ActionBar with popup menu at the bottom of the screen

I'm using ActionBarSherlock and I wonder if it is possible to have a popup menu at the bottom of the screen additionally? I'd like this menu to appear when the user clicks the default menu button (hardware for older mobiles).

How can I do this?

Upvotes: 2

Views: 1671

Answers (2)

GrIsHu
GrIsHu

Reputation: 23638

You must take a look at the How to Create Android Menus?

I hope this will help you.

Upvotes: 1

Yaroslav Mytkalyk
Yaroslav Mytkalyk

Reputation: 17105

The actionbar menu overflow is automatically replaced by items in "menu" popup if you have a hardware menu button. http://developer.android.com/design/patterns/compatibility.html

In order for items to appear in there you should set

android:showAsAction="never"

to your menu items

Upvotes: 2

Related Questions