Yalantis / uCrop

Image Cropping Library for Android

Home Page:https://yalantis.com/blog/introducing-ucrop-our-own-image-cropping-library-for-android/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom OverlayView radius without change image padding

wangyeming opened this issue · comments

What I want to show in my app:

ucrop-issue-pic01

I attempt to change padding of OverlayView but I must also change GestureCropImageView's padding because, as your describe, 'padding for both views must be equal'.

vGestureCropImageView.setPadding(padding, padding, padding, padding);
vOverlayView.setPadding(padding, padding, padding, padding);

The real display:

ucrop-issue-pic02

Thanks for the report.
I think I'll fix this in next update.

Please try 1.5.0. Now paddings are not associated, therefore you can adjust them individually.