Closed hexianqiao3755 closed 6 years ago
Hello @hexianqiao3755
Currently you can hide bottom view withUCrop.Options.setHideBottomControls(true)
method.
However it won't disable rotation.
I've modified sources and in the next library update (soon) you will be able to set desired gestures via
UCrop.Options.setAllowedGestures(UCropActivity.SCALE, UCropActivity.SCALE, UCropActivity.SCALE);
- you need to change only first parameter, because there are no "tabs".
Please check the latest uCrop version :octocat: Now you can choose between:
compile 'com.yalantis:ucrop:2.2.0'
compile 'com.yalantis:ucrop:2.2.0-native'
hi @shliama I'm trying to use your new version, solved rotate problem. but, my app used FloatingActionButton location all appeared error. error log: Binary XML file line #135: Binary XML file line #135: Error inflating class android.support.design.widget.FloatingActionButton. can you try.
Sorry but ucrop library doesnt support FloatingActionButton. I hope you solved your problem
How to hide the bottom view, so that the photos can not be rotated.