Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Removing the Need for a Menu Button on Android

DZone's Guide to

Removing the Need for a Menu Button on Android

· Java Zone
Free Resource

Managing a MongoDB deployment? Take a load off and live migrate to MongoDB Atlas, the official automated service, with little to no downtime.

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? 

 

MongoDB Atlas is the easiest way to run the fastest-growing database for modern applications — no installation, setup, or configuration required. Easily live migrate an existing workload or start with 512MB of storage for free.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}