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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.