By Chris Banes

PhotoView aims to help produce an easily usable implementation of a zooming Android ImageView. It is currently being used in photup.


  • Out of the box zooming, using multi-touch and double-tap.
  • Scrolling, with smooth scrolling fling.
  • Works perfectly when using used in a scrolling parent (such as ViewPager).
  • Allows the application to be notified when the displayed Matrix has changed. Useful for when you need to update your UI based on the current zoom/scroll position.
  • Allows the application to be notified when the user taps on the Photo.


8 comments on “PhotoView”

  1. Imran Reply


    I am using PhotoView for my app.
    I am trying to display the imageView in a full Screen at first. When a touch event occurs I would like to display the ActionBar and StatusBar.

    I am looking into the touch events written by you. I am finding it difficult to find out if the user taps, flings or zooms. Everything generates a touch event displaying the AB and SB.

    Need Help!

    Thank you.

  2. Lisandro Reply

    I’m making an image gallery and I want to implement this, but I don’t understand how to do it with image files instead of drawables.

  3. Juraj Reply

    this component is epic !

    saved my bacon, many thanks to author.

  4. Preston Reply

    Wow, that’s what I was exploring for, what a stuff! existing here at this web site,
    thanks admin of this web site.

  5. unranked dedicated server Reply

    I was recommended this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my trouble.
    You’re wonderful! Thanks!

  6. Daniela Reply

    Is it possible to write more? Youre my favourite poster
    in 2014

Leave a comment

Please wait...