Open jesro opened 3 years ago
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
Any Solutions ?
app:sb_background="@color/uncheckedColor"
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