Skip to content

nuclearfog/ZoomView

Repository files navigation

zoomable android ImageView simply move & zoom images with gestures

JitPack project integration:

Example:

<org.nuclearfog.zoomview.ZoomView
  android:id="@+id/zoom_image"
  android:src="@drawable/image"
  android:layout_width="match_parent"
  android:layout_height="match_parent" />
ZoomImage zoomImage = findViewById(R.id.zoom_image);

zoomImage.setImageBitmap(image);  // Set Image
zoomImage.reset();                // Reset Zoom to default

Notes:

  • SVG images are not supported
  • wrap_content is not supported
  • high resolutions may lead to lag

logo design by @Tobaloidee