Answers to Self-Review Exercises

  1. 4.1

    1. getAssets.

    2. AssetManager.

    3. translate.

    4. android:startOffset.

  2. 4.2

    1. True.

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

    3. True.

    4. True.

    5. 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, 3/e 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.