Answers to Self-Review Exercises

5.1

a) getAssets.

b) AssetManager.

c) translate.

d) android:startOffset..

5.2

a) True.

b) False. When exceptions occur, you can log them for debugging purposes with the built-in Log class’s methods.

c) True.

d) True.

e) False. Use Fragments to create reusable components and make better use of the screen real estate in a tablet app.

Get Android™ How to Program, 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.