nerdexam
Android

OA0-002 · Question #26

Which of these is the incorrect explanation of ProgressDialog?

The correct answer is C. ProgressDialog is able to apply a custom XML-defined layout by using the setContentView(...). See the full explanation below for the reasoning.

Question

Which of these is the incorrect explanation of ProgressDialog?

Options

  • AProgressDialog inherits from the AlertDialog class.
  • BProgressDialog can be set as 2 types of style: STYLEJHORIZONTAL and STYLE_SPINNER.
  • CProgressDialog is able to apply a custom XML-defined layout by using the setContentView(...)
  • DProgressDialog can be freely configured to use a Drawable class to display as its progress bar.

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    13% (4)
  • C
    77% (24)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full OA0-002 Practice