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 ...

Get Android™ for Programmers: An App-Driven Approach, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.