|
|
@ -35,6 +35,7 @@ import androidx.annotation.NonNull;
|
|
|
|
import androidx.annotation.Nullable;
|
|
|
|
import androidx.annotation.Nullable;
|
|
|
|
import androidx.appcompat.app.AlertDialog;
|
|
|
|
import androidx.appcompat.app.AlertDialog;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.canhub.cropper.CropImageOptions;
|
|
|
|
import com.canhub.cropper.CropImageView;
|
|
|
|
import com.canhub.cropper.CropImageView;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.BufferedOutputStream;
|
|
|
|
import java.io.BufferedOutputStream;
|
|
|
@ -160,6 +161,10 @@ public class FragmentDialogEditImage extends FragmentDialogBase {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CropImageOptions options = new CropImageOptions();
|
|
|
|
|
|
|
|
options.borderCornerThickness = Helper.dp2pixels(context, 5);
|
|
|
|
|
|
|
|
civ.setImageCropOptions(options);
|
|
|
|
|
|
|
|
|
|
|
|
new SimpleTask<EntityAttachment>() {
|
|
|
|
new SimpleTask<EntityAttachment>() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected void onPreExecute(Bundle args) {
|
|
|
|
protected void onPreExecute(Bundle args) {
|
|
|
|