ZoomLayout Versions Save

2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.

v1.2.0

6 years ago
  • Introduced zoomIn() and zoomOut() (#27)
  • Expose all APIs in ZoomLayout and ZoomImageView, no more need to use getEngine() (#27)
  • Added setTransformation API (#28)
  • Added app:transformation and app:transformationGravity XML attributes (#28)

Both things will control the default transformation that is applied when the content is laid out for the first time. The default value for transformation is TRANSFORMATION_CENTER_INSIDE and the default gravity is Gravity.CENTER.

  • Support for TRANSFORMATION_CENTER_CROP (#28)
  • Support for TRANSFORMATION_NONE (#28)

v1.1.1

6 years ago

Fixed a bug with flings that caused the engine to hang (#18).

v1.1.0

6 years ago
  • Fix a lot of zoom/focus issues that were evident with large content (#9)
  • Deprecate overScrollable in favor of overScrollHorizontal and overScrollVertical (#8)

v1.0.3

6 years ago

Fixed some serious bugs (and improved support) for the case when hasClickableChildren is set to false, or is changed during layout.

v1.0.2

6 years ago

This release fixes a lot of bugs and flickers that were happening.

  • add XML attributes for minZoomType and maxZoomType (#6)
  • scaling is not smooth (#6, #7)
  • pan APIs are now exact by using preTranslate (#7)
  • zoom constraints are respected at startup (#7)

v1.0.1

6 years ago

This release improves stability and adds new features.

  • moveTo() api to animate both zoom and pan concurrently
  • new setMaxZoom() and setMinZoom() APIs
  • neat initialization even when the view size or the content size change on the run
  • ZoomLogger to read or shut down logs

v1.0.0

6 years ago

First release.