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

Uncheck Color Not Working #47

Open
jesro opened this issue Jul 21, 2021 · 2 comments
Open

Uncheck Color Not Working #47

jesro opened this issue Jul 21, 2021 · 2 comments

Comments

@jesro
Copy link

jesro commented Jul 21, 2021

Because background is set to "Color.White" by default. "sb_uncheck_color" for track not working.

https://github.com/zcweng/SwitchButton/blob/master/library/src/main/java/com/suke/widget/SwitchButton.java#L159
https://github.com/zcweng/SwitchButton/blob/master/library/src/main/java/com/suke/widget/SwitchButton.java#L283

@a-adevelopers
Copy link

Any Solutions ?

@idee24
Copy link

idee24 commented Feb 1, 2022

app:sb_background="@color/uncheckedColor"

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

No branches or pull requests

3 participants