jayrambhia / CropperNoCropper

Instagram Style Image Cropper for Android (Library)
http://www.jayrambhia.com/project/nocropper-library
Apache License 2.0
475 stars 99 forks source link

How to keep the Gridview always Visible #32

Closed skhizerabass closed 6 years ago

skhizerabass commented 6 years ago

I want to keep the grid lines always available, But i am not able to find any solution for that. Is there any solution to keep it visible all the time ?

jayrambhia commented 6 years ago

There's no way to do that right now. I'll add it to TO-DO.

jayrambhia commented 6 years ago

Fixed in 0.2.1

skhizerabass commented 6 years ago

Thanks man, It is working great now.

skined90 commented 6 years ago

Is there any way to show the grid on start before any image manipulation?

jayrambhia commented 6 years ago

Hi @skined90 At the moment, there's no direct way to do that. I'll create a new issue and will work on it later.

Meanwhile, you could try this:

View gridView = cropperView.getChildAt(1);
if (gridView instanceof CropperGridView) {
  ((CropperGridView)gridView).setShowGrid(true);
}
skined90 commented 6 years ago

@jayrambhia Thank you!