Skip to content

ZoomLayout is a ViewGroup, that enables pinch-zoom and panning on child-views.

Notifications You must be signed in to change notification settings

tjek/zoomlayout

Repository files navigation

ZoomLayout

ZoomLayout is a ViewGroup, that enables pinch-zoom and panning on child-views.

Download

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'
}

Features

  • 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.

Usage

There is a sample

Issues

Currently childviews doesn't receive touch events.