ShineButton
ShineButton copied to clipboard
setShapeResource is doesn't work
trafficstars
i want to change the button image when i click the button but setShapeResource method doesn't work
You can use it :
shineButton.setBtnColor(ContextCompat.getColor(context, R.color.favColorON));
shineButton.setBtnFillColor(ContextCompat.getColor(context, R.color.favColorOFF));
this codes is my code, i hope help you
May be a bug. I will check.
@tellfa
i mean image Drawable. not a button color
Can you change the image itself somehow, to a custom png?
@liovincis It not support custom png, I will consider to add it in future.