Need support, consulting, or have any other business-related question? Feel free to get in touch.
Like the project, make profit from it, or simply want to thank back? Please consider sponsoring!
A collection of flexible Android components that support zooming and panning of View hierarchies, images, video streams, and much more - either programmatically or through touch events.
ZoomLayout: a container that supports 2D pan and zoom to a View hierarchy, even supporting clicks [docs]
ZoomImageView: (yet another) ImageView that supports 2D pan and zoom [docs]
ZoomSurfaceView: A SurfaceView that supports 2D pan and zoom with OpenGL rendering [docs]
ZoomSurfaceView are just very simple implementations of the
ZoomEngine [docs]. The zoom engine lets you animate everything through
constant updates, as long as you feed it with touch events, with a
that makes it very flexible.
If you like the project, make profit from it, or simply want to thank back, please consider supporting it through the GitHub Sponsors program! You can have your company logo here, get private support hours or simply help me push this forward.
Feel free to contact me for support, consulting or any other business-related question.
<com.otaliastudios.zoom.ZoomLayout android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="vertical|horizontal" app:transformation="centerInside" app:transformationGravity="auto" app:alignment="center" app:overScrollHorizontal="true" app:overScrollVertical="true" app:overPinchable="true" app:horizontalPanEnabled="true" app:verticalPanEnabled="true" app:zoomEnabled="true" app:flingEnabled="true" app:scrollEnabled="true" app:oneFingerScrollEnabled="true" app:twoFingersScrollEnabled="true" app:threeFingersScrollEnabled="true" app:minZoom="0.7" app:minZoomType="zoom" app:maxZoom="2.5" app:maxZoomType="zoom" app:animationDuration="280" app:hasClickableChildren="false"> <!-- Content here. --> </com.otaliastudios.zoom.ZoomLayout>