ShineButton icon indicating copy to clipboard operation
ShineButton copied to clipboard

setShapeResource is doesn't work

Open greatsk55 opened this issue 9 years ago • 5 comments
trafficstars

i want to change the button image when i click the button but setShapeResource method doesn't work

greatsk55 avatar Sep 28 '16 07:09 greatsk55

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

tellfa avatar Oct 01 '16 14:10 tellfa

May be a bug. I will check.

ChadCSong avatar Oct 02 '16 02:10 ChadCSong

@tellfa

i mean image Drawable. not a button color

greatsk55 avatar Oct 03 '16 03:10 greatsk55

Can you change the image itself somehow, to a custom png?

liovincis avatar Oct 23 '16 05:10 liovincis

@liovincis It not support custom png, I will consider to add it in future.

ChadCSong avatar Mar 27 '17 11:03 ChadCSong