Skip to content
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

Disable buttons from UI and use free crop & rotate. Bug - No effect if touch in rectangle #431

Closed
sleepstream opened this issue Jun 7, 2018 · 7 comments

Comments

@sleepstream
Copy link

sleepstream commented Jun 7, 2018

ezgif-4-d7d1fd673c
Redmi Note 4
Android 7.0
'com.github.yalantis:ucrop:2.2.2'

Is it possible to disable (not to show) buttons but still have free crop and rotate?

@sleepstream
Copy link
Author

disable buttons, found in issue #186

Currently you can hide bottom view withUCrop.Options.setHideBottomControls(true) method.

@Legementarion
Copy link
Contributor

Legementarion commented Jun 8, 2018

@sleepstream Hello! This isnt a bug :) this crop overlay havent on touch events, you should touch outside of overlay to zoom or rotate, and touch borders of overlay to resize it.

Ucrop have option - setHideBottomControls, try this to hide bottom controls

@sleepstream
Copy link
Author

It's not comfortable.
From time to time there is big image and big crop rectangle and it's not posssible to resize image from outside of rectangle.

It'll be better if crop overlay have on touch event for double touch.
I can post one more gif to show what i mean.

@Legementarion
Copy link
Contributor

@sleepstream I still waiting for your next gif :)

@sleepstream
Copy link
Author

One moment!

@sleepstream
Copy link
Author

ezgif-2-31f96d081a

Look on it.

I have big picture and want to crp big area.
First i need to rsize crop area to small and next to resize image.
After that i have to resize crop overlay back;

@p1nkydev
Copy link
Contributor

@sleepstream Currently you can hide bottom view withUCrop.Options.setHideBottomControls(true) method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants