Releases: raystatic/ZoomPanView
Video Support Added
Video support Added
Video Support Added to the ZoomPanView. Now you can add videos as well apply actions like zooming, panning or translating onto it
Zoom Pan View
The ZoomPanView is a custom view that enables interactive zooming and panning functionality for displaying images. It extends the FrameLayout class and provides a seamless user experience for exploring and manipulating images within a container.
The ZoomPanView supports the following features:
- Zooming: Users can zoom in or out of the displayed image using standard pinch-to-zoom gestures. This allows for a closer inspection of details or a broader view of the image.
- Panning: Users can pan or scroll the image in any direction by dragging their fingers across the view. This enables effortless exploration of larger images or zoomed-in areas.
- Customizable Appearance: ZoomPanView offers customization options to enhance the visual presentation. It supports the display of a gradient background behind the image, creating an aesthetically pleasing and immersive viewing experience.
- Image Loading: Users can set the image to be displayed in the ZoomPanView using the setImage() method. The view automatically handles the loading and rendering of the provided image, ensuring a smooth and responsive interface.
The ZoomPanView simplifies the implementation of zooming and panning functionality, making it convenient to integrate into applications that require interactive image viewing. Whether it's for showcasing detailed product images, photo galleries, or any other image-based content, ZoomPanView offers a user-friendly interface for seamless exploration and interaction.
