Hour 11. Using Dialogs to Collect User Input

In this hour, you complete the Been There, Done That! settings screen by adding several Dialog windows to QuizSettingsActivity. Each Dialog window is specially designed to collect a specific type of input from the user. First, you add a Dialog window called DatePickerDialog to collect date input, allowing the user to supply his or her date of birth, and then you build a custom Dialog window to facilitate changing the user’s password.

Working with Activity Dialogs

An activity can use Dialog windows to organize information and react to user-driven ...

Get Sams Teach Yourself Android™ Application Development in 24 Hours 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.