Skip to content

ZImageView is simple touchable and zoomable imageView with all gestures detections. Zoom-in & Zoom-out functionality implemented.

License

Notifications You must be signed in to change notification settings

haseebazeem15/ZImageView

Repository files navigation

ZImageView

ZImageView is simple touchable and zoomable light weight imageView library with all gestures detections.

Minimum API LEVEL

GifImageView is compatible with API LEVEL 19 or above.

Installation

  1. Use jitpack in your build.gradle file to install ZImageView.
allprojects {
 repositories {
   maven { url 'https://jitpack.io' }
 }
}

Gradle

dependencies {
  implementation 'com.github.haseebazeem15:ZImageView:1.0'
}

Usage

Create this ZImageView element in your layout xml file:

  <com.haseebazeem.zimageview.ZImageView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:src="@mipmap/ic_launcher"
      android:id="@+id/z_image"
  />

Inflate ZImageView programmatically using:

ZImageView zImageView;

zImageView = (ZImageView) findViewById(R.id.z_image);
zImageView.setImageResource(YOUR_RESOURCE);
zImageView.setImageBitmap(YOUR_BITMAP);
zImageView.setImageDrawable(YOUR_DRAWABLE);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

ZImageView is simple touchable and zoomable imageView with all gestures detections. Zoom-in & Zoom-out functionality implemented.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages