Android代码-旋转图片的PhotoView

时间:2022-08-26 12:46:43
【文件属性】:

文件名称:Android代码-旋转图片的PhotoView

文件大小:864KB

文件格式:ZIP

更新时间:2022-08-26 12:46:43

Android代码

RotatePhotoView Adding Rotation with two finger function on PhotoView Set Up Gradle compile "com.chensl.rotatephotoview:rotatephotoview:1.0.5" and don't forget to add jcenter() to repositories Usage in code you need to enable rotation, by default it's false. PhotoViewAttacher attacher = new PhotoViewAttacher(mImageView); attacher.setRotatable(true); set rotate listener photoView.setOnViewRotateListener(new PhotoViewAttacher.OnViewRotateListener() { @Override public void onRotate(int de


【文件预览】:
RotatePhotoView-master
----gradlew(5KB)
----settings.gradle(35B)
----.travis.yml(368B)
----LICENSE(11KB)
----README.md(2KB)
----gradlew.bat(2KB)
----gradle.properties(609B)
----RotatePhotoView()
--------gradlew(5KB)
--------settings.gradle(35B)
--------rotatephotoview()
--------.idea()
--------RotatePhotoView.iml(969B)
--------gradle()
--------gradlew.bat(2KB)
--------gradle.properties(855B)
--------.gitignore(204B)
--------app()
--------build.gradle(644B)
----screenshot()
--------viewpager.gif(524KB)
----build.gradle(276B)

网友评论