Over a million developers have joined DZone.
Platinum Partner

Removing the Need for a Menu Button on Android

· Java Zone

Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.

To many, the inclusion of a menu button on Android phones is a bit messy. After all, the usability of iOS devices is spot on without this function. It makes me happy to see that Google is encouraging people to move away from using the menu button as more devices more to Ice Cream Sandwich, and to use the action bar instead. 

In the blog post,Tim Bray summarises by saying: 

If I had to put this whole post into one sentence, it’d be: Set targetSdkVersion to 14 and, if you use the options menu, surface a few actions in the action bar with showAsAction="ifRoom".

Of course you'll still need to worry about those pre-Honeycomb devices, but Tim's post describes how you can handle this situations fairly easily. 

As an iOS user, I always found the menu button on Android a bit clumsy. The removal of the button allows for a more consistent user experience on apps targetted at either platform, and that has to be a good thing for the end user. 

Is there anyone out there who will actually miss the Menu button? 

 

The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}