TriStateToggleButton icon indicating copy to clipboard operation
TriStateToggleButton copied to clipboard

setOnColor() shows a different color instead

Open javivdev opened this issue 7 years ago • 1 comments

When I assign the OFF, MID and ON colors on the xml file the colors are displayed correctly, but when I set them programmatically through setOnColor(), setMidColor() and setOffColor(), the color displayed is another.

The way I set the color is: tstbAppState.setOnColor(R.color.yellow);

By the way, thanks for the library...

javivdev avatar Jan 24 '18 13:01 javivdev

Yes, same issue, when i am trying to set transparent color (#26000000) through xml, it shows Black color instead. @jsmeke did you find the solution..?

Swavis avatar Jan 23 '19 13:01 Swavis