2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
zoomIn()
and zoomOut()
(#27)setTransformation
API (#28)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
.
TRANSFORMATION_CENTER_CROP
(#28)TRANSFORMATION_NONE
(#28)Fixed a bug with flings that caused the engine to hang (#18).
Fixed some serious bugs (and improved support) for the case when hasClickableChildren is set to false, or is changed during layout.
This release fixes a lot of bugs and flickers that were happening.
This release improves stability and adds new features.
moveTo()
api to animate both zoom and pan concurrentlysetMaxZoom()
and setMinZoom()
APIsZoomLogger
to read or shut down logsFirst release.