Skip to content

setOnColor() shows a different color instead #3

@javivdev

Description

@javivdev

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions