Hour 10. Building Forms to Collect User Input
What You’ll Learn in This Hour:
• Designing and implementing the settings screen
• Working with EditText
controls
• Working with Button
controls
• Working with Spinner
controls
• Saving form data with SharedPreferences
In this hour, you begin implementation of the settings screen of the Been There, Done 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 ...
Get Sams Teach Yourself Android™ Application Development in 24 Hours, 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.