tenthbitinc / ZoomImageView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Play Image

ZoomImageView is an Android ImageView with zoom functionality, all in one class.

Works great with ViewPager, example provided.

Used in Couple app.

Features

  • Multi-touch pinch zoom
  • Double-tap zoom
  • Smooth zooming and scrolling, using animation thread
  • All in one class
  • Easy to put in a scrolling parent, like the ViewPager (example provided)

Examples

This project provides two examples:

Support

Android 2.2 (API 8) and newer.

Origin

This project is based on the excellent PhotoView by Chris Banes. Many thanks to Chris for writing it.

Improvements over PhotoView:

  • The library has been simplified from seven files to just one.
  • Fixed pinch zoom accuracy, also with multiple fingers.
  • Some parts of code have been removed, rewritten and overall simplified.

License

Copyright 2013 TenthBit Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

License:Apache License 2.0


Languages

Language:Java 100.0%