Android Application Development (AND-401) — Question 44

Which of the following is NOT true about onMeasure() method of class View?

Answer options

Correct answer: D

Explanation

Option D is incorrect because the onMeasure() method only takes two parameters: width and height; depth is not a parameter of this method. Options A, B, and C are true statements regarding the functionality and requirements of the onMeasure() method.