Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No grid when moving #52

Open
DanielMartinus opened this issue Apr 28, 2020 · 1 comment
Open

No grid when moving #52

DanielMartinus opened this issue Apr 28, 2020 · 1 comment

Comments

@DanielMartinus
Copy link

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 DanielMartinus changed the title Grid color when moving No grid when moving Apr 28, 2020
@jayrambhia
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants