uCrop icon indicating copy to clipboard operation
uCrop copied to clipboard

How to perform "Rotate" with out showing controls in the UI?

Open arunakommuri opened this issue 7 years ago • 6 comments

Do you want to request a feature or report a bug?

What is the current behavior?

What is the expected behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Please attach any image files, URL and stack trace that can be used to reproduce the bug.

Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?

arunakommuri avatar Jun 06 '18 11:06 arunakommuri

@arunakommuri Hello! Ucrop have option - setHideBottomControls, try this to hide bottom controls

Legementarion avatar Jun 08 '18 09:06 Legementarion

@Legementarion yeah, But i want to achieve rotate functionality with out showing the controls..

arunakommuri avatar Jun 08 '18 09:06 arunakommuri

@arunakommuri So? Do you want hide only rotate control, but show all others?

Legementarion avatar Jun 08 '18 09:06 Legementarion

@Legementarion No, I want to hide all the controls not only rotate, But i need the rotate functionality. Is their any possibility to do..

arunakommuri avatar Jun 08 '18 10:06 arunakommuri

I think that it'll be better to have possibility to hide only one button (one by one) and all together. Now i hide panel and use options.setAllowedGestures(UCropActivity.SCALE, UCropActivity.SCALE, UCropActivity.SCALE);

But rotate doesn't work.

sleepstream avatar Jun 08 '18 11:06 sleepstream

I use options.setAllowedGestures(UCropActivity.ALL, UCropActivity.ALL, UCropActivity.ALL) and both rotating and scaling work.

krida2000 avatar Jan 20 '25 13:01 krida2000