10. Collecting User Input

In this chapter, you begin implementation of the settings screen of the Have You Read That? application. The settings screen displays a form for entering application configuration information, including the user’s login and profile settings. Different settings necessitate the use of different input controls, including EditText, Spinner, and Button controls, among others. Finally, you need to ensure that each setting is saved and stored in a persistent manner as part of the application’s preferences.

Designing the Settings Screen

The settings screen must allow the user to configure any number of game settings. Game settings may be text-input fields, dropdown lists, or other more complex controls. You will eventually need ...

Get Learning Android™ Application Programming for the Kindle Fire™: A Hands-On Guide to Building Your First Android Application 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.