Scale Image View Demo

Scale Image View Demo

A demo of Subsampling Scale Image View, a library for displaying large images.

Scale Image View Demo
Scale Image View Demo Scale Image View Demo

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//

Image display

* Display huge images larger than can be loaded into memory
* Show high resolution detail on zooming in
* Tested up to 20000x13000px 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


* 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

About this version (4.0)

Material redesign

Details and Recent Ratings

Size: 13 MB
Version: 4.0 by Dave Morrissey
Updated: 19 November 2017 (1247 days ago)
Released: 09 June 2014
Installations: more than 10 000
Scale Image View Demo
5 Stars: 134
4 Stars: 6
3 Stars: 1
2 Stars: 0
1 Star: 14

Similar apps