O'Reilly logo

Beginning Android Programming: Develop and Design by Kevin Grant, Chris Haseman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Tablets, Fragments, and Action Bars, Oh My

So we’ve made it this far, and we’ve barely talked about fragments at all. Well, there’s reason behind this madness, I assure you. Fragments were added to the framework at a time when the Android platform was evolving to accommodate larger screens and needed a strategy for allowing developers to design one application to work across a myriad of devices.

Around the same time, the action bar was added to the framework. The action bar is a window feature that aims to provide a consistent navigation and action pattern for Android applications. Much like the menu bar across the top of all screens in OS X and the menu functionality tied to the top of each application window in Windows, the action ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required