How can I get zoom functionality for images?

Janusz

Is there a common way to show a big image and enable the user to zoom in and out and pan the image?

Until now I found two ways:

  1. overwriting ImageView, that seems a little bit too much for such a common problem.
  2. using a webview but with less control over the overall layout etc.
Janusz

I used a WebView and loaded the image from the memory via

webview.loadUrl("file://...")

The WebView handles all the panning zooming and scrolling. If you use wrap_content the webview won't be bigger then the image and no white areas are shown. The WebView is the better ImageView ;)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I get the random images displaying to not repeat?

How can I implement "recycle bin" functionality?

How can I get images to appear in UI PickerView Component in Swift?

How can I get a black background while images are loading?

How can i get all functionality of jquery plugin after ajax call?

How can I create a zoom in effect with background images using CSS?

How can I get images under a blog for a user

How can i get images dynamically from drawable folder?

How can I get normalized coordinated from an object in images

How can I achieve PIL colorize functionality?

How can I integrate searching functionality on table?

How can I get transparent images to appear on TMenu item

How can I remove the axes from an Oxplot graph but retain zoom and pan functionality?

How can I get the current Leaflet map zoom level?

How can I get these links and images to appear inline

How can I get the default images used in navigation bar?

How I can zoom in & zoom out images and move all images

How can I extend functionality of Embeded Terminal

How can I get those images shown in MessageDlg?

I was hoping to get this functionality. Any suggestions of how i can make this work

How can I get Dockerhub to rebuild my images daily?

How can I make the images zoom in on click and display the image, and more details like the specific image price and dimensions?

How can i use search functionality in laravel?

How can I implement a print functionality in Angular?

How can I get images in react from nodeJS API server

How can I get different images to fit in the same 'box'?

How can I get some images with flow from directory?

How can I get these images to sit side by side in ReactJS?

ffmpeg how can I get the overlay to apply to all images in the slideshow