Hades
Hades

Reputation: 3936

webview image enlarge on click android

I have an image in a webview, when the user clicks it I want it to open up in the full screen. How do I accomplish this?>

Upvotes: 1

Views: 1949

Answers (1)

Rajath
Rajath

Reputation: 11946

In shouldOverrideUrlLoading, capture the image url when the user clicks on the image. Then use Android Image Viewer from App to show the image (after downloading it from the captured url).

Upvotes: 1

Related Questions