O'Reilly logo

Android™ Programming Unleashed by B.M. Harwani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Displaying and Fetching Information Using Dialogs and Fragments

In This Chapter

AlertDialogs

Getting Input via Dialog Boxes

• Understanding DatePickerDialogs

• Understanding TimePickerDialogs

Selecting Date and Time in One Application

• Understanding Fragments and Their Life Cycles

• Creating Fragments Through XML and Java Code

• Understanding Specialized Fragments, ListFragment, DialogFragment, and PreferenceFragment

A dialog is a smaller window that pops up to interact with the user. It can display important messages and can even prompt for some data. Once the interaction with the dialog is over, the dialog disappears, allowing the user to continue with the application. Fragments, as the name suggests, enable us to fragment ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required