O'Reilly logo

Android™ for Programmers: An App-Driven Approach, Second Edition by Harvey Deitel, Paul Deitel, Abbey Deitel

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

5. Flag Quiz App

Fragments, Menus, Preferences, AssetManager, Tweened Animations, Handler, Toasts, Explicit Intents, Layouts for Multiple Device Orientations

Image

Objectives

In this chapter you’ll:

Image Use Fragments to make better use of available screen real estate in an Activity’s GUI on phones and tablets.

Image Display an options menu on the action bar to enable users to configure the app’s preferences.

Use a PreferenceFragment to automatically manage and ...

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