CropperNoCropper icon indicating copy to clipboard operation
CropperNoCropper copied to clipboard

No grid when moving

Open DanielMartinus opened this issue 4 years ago • 1 comments

Hey there,

With the following configuration the CropperView still shows a grid view when moving the image even though the grid_color, thickness are set to make it transparant.

Is there a way to hide the grid lines when moving the image? For us this is not relevant since we don't try to align buildings and stuff :)

<com.fenchtose.nocropper.CropperView
    android:id="@+id/userImage"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_centerInParent="true"
    android:background="@color/white"
    app:nocropper__grid_color="@android:color/transparent"
    app:nocropper__grid_thickness="0dp"
    app:nocropper__padding_color="@color/white" />
When not moving when moving the image
Screenshot_1588080912 Screenshot_1588080914

DanielMartinus avatar Apr 28 '20 13:04 DanielMartinus

Hi, it's possible. You can use CropperView.setGridCallback

jayrambhia avatar Apr 29 '20 05:04 jayrambhia