Android
AND-401 · Question #143
Which of the following applies to the onDraw() method of class View? (Choose two)
Sign in or unlock AND-401 to reveal the answer and full explanation for question #143. The question stem and answer options stay visible for context.
Foundational Concepts of AI
Question
Which of the following applies to the onDraw() method of class View? (Choose two)
Options
- AIt must be overridden if a customize drawing of a view is required.
- BIt takes two parameters: a Canvas and a View.
- CIt takes one parameter of type Canvas.
- DIt uses the Canvas parameter to draw the border of the activity that contains it.
Unlock AND-401 to see the answer
You've previewed enough free AND-401 questions. Unlock AND-401 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#View lifecycle#onDraw method#Canvas parameter#custom drawing