Closed tinkooladik closed 5 years ago
It worked in this way for couple of days and now it fails with java.lang.RuntimeException: Error reading background... Use a shape or a color in xml!
So it seems I can't use .png / VectorDrawable
Yes, sorry. You can't. This button only accepts solid colors
It is not possible to improve this library to accept .png
because the only drawable that works with the morphing animation if the GradientDrawable
.
Since this problem can't be fixed, I am closing the issue. Please fell free to reopen it if you think there's a way to fix it.
Is it possible to use .png or VectorDrawable as button background? When I try to do so, it looks like this:
even though corner angle was specified:
Can I make it round circular after calling
.startAnimation();
and then return back to rectangular shape after.revertAnimation();
?BTW done state also looks strange: