Question

When there's more than 6 items in the Android Option Menu, a "More" will be in place. My question is currently I see two different behaviors upon clicking, from different apps. One will show a menu like this, another will show a context menu like this.

Which is one is the proper Android way?

Thanks

Was it helpful?

Solution

The first is the "proper" way as in the default behaviour you get. I don't think the difference is meaningful, but to achieve the second the coder must have mucked around, and I don't think it's worth it..

OTHER TIPS

I don't see how those two are related. Your first link shows the options menu with "more", which is what you were talking about in your first sentence. The second link shows the context menu after a long press on a list item - that's a completely different item. They both have their uses.

The menu is used for options that are global to the current activity. The context menu is intended for options that relate to the specific item you picked.

If you see an app that uses a context menu for "more", then it's not using the normal Android menu system. I've even seen Google apps use that (Maps, I believe), and I don't know why you would do that.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top