Android
AND-401 · Question #17
Which of the following is NOTtrue about onMeasure() method of class View?
The correct answer is D. It takes three parameters: the height, width, and the depth of the view. See the full explanation below for the reasoning.
Question
Which of the following is NOTtrue about onMeasure() method of class View?
Options
- AIt measures the view and its contents to determine the measured width and height.
- BIt is invoked by measure().
- CWhen overriding this method, a developer must call setMeasuredDimension().
- DIt takes three parameters: the height, width, and the depth of the view.
How the community answered
(18 responses)- A17% (3)
- B6% (1)
- C6% (1)
- D72% (13)
Community Discussion
No community discussion yet for this question.