Touch Image View
OXO Flavored ImageViewZoom.
Features
- Works perfectly with
ViewPager
andPullBackLayout
- Quick Scale enabled by default - double tap, hold and swipe to scale
- Pre-configured minimum and maximum scale - the view's size and twice of the image's size
Download
repositories {
// ...
maven {
url "https://jitpack.io"
}
}
dependencies {
// ... support library ...
// ...
compile 'com.github.oxoooo:touch-image-view:1.0.1'
}
Usage
<ooo.oxo.library.widget.TouchImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent" />