Android
AND-401 · Question #119
Which of the following lines of codes adds zoom controls to a WebView?
The correct answer is A. webView.getSettings().setBuiltInZoomControls(true). See the full explanation below for the reasoning.
Question
Which of the following lines of codes adds zoom controls to a WebView?
Options
- AwebView.getSettings().setBuiltInZoomControls(true);
- BwebView.getSettings().setZoomControls(true);
- CwebView.getZoomSettings().setControls(CONTROLS.enabled);
- DZoom controls are included by default in WebViews
How the community answered
(36 responses)- A75% (27)
- B8% (3)
- C14% (5)
- D3% (1)
Community Discussion
No community discussion yet for this question.