Yalantis/uCrop

Custom OverlayView radius without change image padding

wangyeming opened this issue · 2 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.