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

setShapeResource is doesn't work #16

Open
greatsk55 opened this issue Sep 28, 2016 · 5 comments
Open

setShapeResource is doesn't work #16

greatsk55 opened this issue Sep 28, 2016 · 5 comments

Comments

@greatsk55
Copy link

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

@tellfa
Copy link

tellfa commented Oct 1, 2016

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

@ChadCSong
Copy link
Owner

May be a bug. I will check.

@greatsk55
Copy link
Author

@tellfa

i mean image Drawable. not a button color

@liovincis
Copy link

liovincis commented Oct 23, 2016

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

@ChadCSong
Copy link
Owner

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

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

No branches or pull requests

4 participants