-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是否可以禁止手势放大 #59
Comments
Open
// 大图--禁止双指缩放功能 largeImageView.setCriticalScaleValueHook(new LargeImageView.CriticalScaleValueHook() {
}); |
好的 十分感谢
| |
woshiwangzeran
|
|
邮箱:[email protected]
|
Signature is customized by Netease Mail Master
在2020年05月25日 17:51,Colcode 写道:
// 大图--禁止双指缩放功能
largeImageView.setCriticalScaleValueHook(new LargeImageView.CriticalScaleValueHook() {
@OverRide
public float getMinScale(LargeImageView largeImageView, int imageWidth, int imageHeight, float suggestMinScale) {
return 1;// 最小缩放系数
}
@OverRide
public float getMaxScale(LargeImageView largeImageView, int imageWidth, int imageHeight, float suggestMaxScale) {
return 1;// 最大缩放系数
}
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题
The text was updated successfully, but these errors were encountered: