Using an eBook

If you are reading this book on an eReader, we want to point out that reading the code may be tricky at times. Longer lines of code may wrap to a second line, depending on your selected font size.

The longest lines of code in this book are 86 monospace characters, like this one.

<string name="question_text">Melbourne was the previous capital of Australia.</string>

You can play with your eReader’s settings to find the best for viewing long code lines.

If you are reading on an iPad with iBooks, we recommend you go to the Settings app, select iBooks, and set Full Justification OFF and Auto-hyphenation OFF.

When you get to the point where you are actually typing in code, we suggest opening the book on your PC or Mac ...

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with O’Reilly online learning.

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