Question

I am developing a Launcher app. I need to detect when the user clicks on the menu button so I display several options (a menu). Well, I found out that there are many devices that don't have a menu button so my app cannot display the menu. Searching in other threads I saw that the solution was to have an Action Bar. This can be good for apps but not for my launcher. Anybody has any hint about this?

Was it helpful?

Solution

Well, I found out that there are many devices that don't have a menu button so my app cannot display the menu

More importantly, there will be very few devices with an off-screen MENU button going forward, as Google is being more stringent about this with device manufacturers.

Anybody has any hint about this?

Create your own menu UI, opened by your own ImageButton or whatever.

Or, add the action bar to your activity and use it.

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