我尝试在开始裁剪开始时设置ucropView大小显示,但默认纵横比没有给出这个结果我想像上图一样显示ucropView
Uri sourceUri = PIDUtility.getImgUri(source);
Uri desiUri = PIDUtility.getImgUri(des);
UCrop.Options options = new UCrop.Options();
options.setFreeStyleCropEnabled(true);
options.setMaxScaleMultiplier((float) 50);
options.setToolbarTitle(title);
UCrop.of(sourceUri, desiUri)
.withAspectRatio(1, 1)
.withOptions(options)
.start(this);