Which of the following Dialog boxes are supported by Android? 1) AlertDialog 2) ProgressDialog 3) DatePickerDialog 4) TimePickerDialog

Options
- 1 and 2
- 3 and 4
- all of the above
- none of these


CORRECT ANSWER : all of the above

Discussion Board
Explanation-

Android supports 4 types dialog boxes:

AlertDialog : An alert dialog box supports 0 to 3 buttons and a list of selectable elements, including check boxes and radio buttons. Among the other dialog boxes, the most suggested dialog box in the alert dialog box.
ProgressDialog : This dialog box displays a progress wheel or progress bar. It is an extension of AlertDialog and supports adding buttons.
DatePickerDialog : This dialog box is used for selecting a date by the user.
TimePickerDialog : This dialog box is used for selecting a time by the user.

Sapna Ambadkar 03-10-2017 06:43 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement