ZoomLayout is a ViewGroup, that enables pinch-zoom and panning on child-views.
Add this in your root build.gradle
file (not your module build.gradle
file):
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
Then, add the library to your module build.gradle
dependencies {
implementation 'com.github.shopgun:zoomlayout:3.0.0'
}
- Zoom and pan on any view, using multi-touch.
- Support for scrolling parents (ViewPager e.t.c.)
- Notifications on zoom, pan, tap e.t.c.
There is a sample
Currently childviews doesn't receive touch events.