Vikas94891 / PhotoZoomDrag-library

A simple and useful library to make image zoom in-out and drag .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhotoZoomDrag-library

A simple and useful library to make image zoom in-out and drag. Happy Coding !:computer:

Follow simple steps to use

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.Vikas94891:PhotoZoomDrag-library:Tag'
}

step 3. Add view in your xml file

 <com.app.vikasphotozoomdrag.VikasPhotoZoom
 
 	 android:id="@+id/imageView"
	
        android:layout_width="match_parent"
	
        android:layout_height="match_parent"
	
        android:scaleType="matrix"
	
        android:src="@drawable/saria"/>
	

https://github.com/Vikas94891/PhotoZoomDrag-library/assets/133336042/bb45648d-1064-413e-bd5c-bd4a6adbae4f ezgif-4-fb49bdd2a6 1683884394993 1683884395014 1683884395025 1683884395059

About

A simple and useful library to make image zoom in-out and drag .


Languages

Language:Java 82.4%Language:Kotlin 17.6%