Scale Image View Demo

4.6
155 reviews
10K+
Downloads
Content rating
Everyone
Screenshot image
Screenshot image

About this app

This is a demo of Subsampling Scale Image View, a free Android library for the display of large images, with gesture detection for zoom and pan. This demo shows most of the features available.

This custom view can be used to display images in a gallery, or for viewing large images such as building plans. It's easily extendible to add overlaid graphics aligned with the image, for example marker pins or custom shapes.

The project, including the source of this app, is hosted on GitHub at https://github.com/davemorrissey/subsampling-scale-image-view

Image display
===================

* Display huge images, larger than can be loaded into memory
* Show high resolution detail on zooming in
* Tested up to 20,000x13,000px, though larger images are slower
* Display images from assets or the file system
* Automatically rotate images from the file system (e.g. the camera or gallery) according to EXIF
* Manually rotate images in 90° increments
* Swap images at runtime

Gesture detection
===================

* One finger pan
* Two finger pinch to zoom
* Pan while zooming
* Seamless switch between pan and zoom
* Fling momentum after panning
* Double tap to zoom in and out
* Options to disable pan and/or zoom gestures

Animation
===================

* Public methods for animating the scale and center
* Customisable duration and easing
* Optional uninterruptible animations

Easy integration
===================

* Use within a ViewPager to create a photo gallery
* Easily restore scale, center and orientation after screen rotation
* Can be extended to add overlay graphics that move and scale with the image
* Handles view resizing and wrap_content layout
Updated on
Nov 19, 2017

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection

Ratings and reviews

4.6
142 reviews
A Google user
August 25, 2019
Feature to Zoom out from original size image would get a 5 star. Fantastic library.
1 person found this review helpful
Did you find this helpful?
Amila Abeygunasekara
September 6, 2020
Awesome demo! I will use this library 👍
Did you find this helpful?
A Google user
June 20, 2019
suddenly zoomed when tap with 2 fingers
1 person found this review helpful
Did you find this helpful?

What's new

Material redesign