-
Notifications
You must be signed in to change notification settings - Fork 157
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
java.lang.IllegalArgumentException: width and height must be > 0 #30
Comments
Same problem here |
I recently update snapshot version, please use it and tell me if the problem persists |
Tried with the 1.0.2. The error is gone but the background image is not set. This is my code (Kotlin):
|
Hi, Just an fyi the same error manifests on line with code:
If you add a delay there is no error and it prevents the crash: Could you add this to the next version please? Best wishes, Arron |
I have a solution.
|
thanks to byox great project, I cloned the project and fixed this bug. also see latest version from here: |
Thank you for such an awesome library! Its helping me. However, an error occured while using it and I'd like to know if you can help me. Thanks!
java.lang.IllegalArgumentException: width and height must be > 0
Crashes on line
drawingView.setBackgroundImage(editingImage, BackgroundType.FILE, BackgroundScale.CENTER_INSIDE);
If removed, no error occurs.
My XML:
configuration code:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: