5. Flag Quiz App
Fragment
s, Menu
s, Preferences, AssetManager
, Tweened Animations, Handler
, Toast
s, Explicit Intent
s, Layouts for Multiple Device Orientations
Objectives
In this chapter you’ll:
Use Fragment
s to make better use of available screen real estate in an Activity
’s GUI on phones and tablets.
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.