Dialog based Android interview questions and answers

1) Which are the dialog boxes supported by the Android platform?

Answer: Android supports six types of dialog boxes:

  • AlertDialog: It has a maximum of 3 buttons and sometimes AlertDialog includes checkboxes and Radio buttons to select the element.
  • ProgressDialog: It displays the progress bar or wheels.
  • TimePickerDialog: Using this dialog box, a user selects the Time.
  • DatePickerDialog: Using this dialog box, a user selects the Date
  • BottomSheetDialog
  • Finger print Dialog

Comments

Popular posts from this blog

Jetpack Compose based Android interview and questions

Null safety based Kotlin interview questions and answers

What are Support Libraries ?