Rotating GeoQuiz

GeoQuiz works great … until you rotate the device. While the app is running, press the NEXT button to show another question. Then rotate the device. If you are running on the emulator, click the rotate left or rotate right button in the floating toolbar to rotate (Figure 3.2).

Figure 3.2  Control the roll

Control the roll

If the emulator does not rotate after you press one of the rotate buttons, turn auto-rotate on. Swipe down from the top of the screen to open Quick Settings. Press the auto-rotate icon, which is the third icon from the left (Figure 3.3). The icon will change from grayed out to a teal color to indicate that ...

Get Android Programming: The Big Nerd Ranch Guide, 4th 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.