Android SDK offers extensive support for dialogs. Dialogs that are explicitly supported in Android include the alert, pick list, single choice, multiple choice, progress, time picker, and date picker dialogs. (This list could vary depending on the Android release.) Android also supports custom dialogs for other needs. The primary focus of this chapter is not to cover each of these dialogs but to cover the underlying architecture of Android dialogs. Android 3.0 has added dialogs based on fragments. This aspect of dialogs is covered in the fragments Chapter 29. Fragment based dialogs are expected to gradually replace the traditional dialogs that are covered here. However these dialogs are not yet deprecated and still the norm on phones.
KeywordsParent Activity Callback Method Main Thread Time Picker Actual Dialog
Unable to display preview. Download preview PDF.