kofigyan/StateProgressBar

Is it possible to change current state background and foreground color like currentStateDescriptionColor?

Opened this issue · 3 comments

Is it possible to change current state background and foreground color like currentStateDescriptionColor?

Is it possible to change current state background and foreground color like currentStateDescriptionColor

Hi @JibuVarghese , please you can. Check Below :

spb_stateBackgroundColor => State background color. Should be a color value. Possible forms are "#rgb", "#argb", "#rrggbb", or "#aarrggbb". Related method : setBackgroundColor(int)

spb_stateForegroundColor => State foreground color. Should be a color value. Possible forms are "#rgb", "#argb", "#rrggbb", or "#aarrggbb". Related method : setForegroundColor(int)

Please check the readme file for more examples on usage.

Hi @kofigyan it is common for all right. What I meant is about currentState? ie, If the current state is set to THREE, I want to change that circle color.