0

i have a html content in android like the following, which is rendered through webview:

<p>blahblah</p><img src="http://blah.com/abc/bhu.png"><div>abcxyz</div><img src="http://blah.com/xyz/mno.png">

How can i implement pinch zoom functionality when img tags in the above html are clicked.

clint
  • 1,786
  • 4
  • 34
  • 60

1 Answers1

0
mWebview.getSettings().setBuiltInZoomControls(true);

Use this for enable zoom in webview

mWebview.getSettings().setDisplayZoomControls(true);

Use this for enable zoom buttons

ekilic
  • 83
  • 8