Reputation: 1514
I have an UI in which I am having a WebView and two buttons on top of it.Say,I want to set zooming controls for these two buttons i.e one for zooming in and the other for zooming out.
How will I do this? I know that WebView and MapView do have automatic zoom controls but I want to set them to the buttons which I have created in my UI.
Any help?
Upvotes: 2
Views: 704
Reputation: 491
Call zoomIn()
and zoomOut()
on the WebView
in your buttons onClick listeners.
Upvotes: 2