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

Kotlin Some important unsorted interview questions and answers

Build Bigger Android Apps, Faster: Why Git LFS Is a Game-Changer for Large Assets

Material Design Components based Android interview questions and answers