kofigyan / StateProgressBar

Android library to realize the various states and transitions in a ProgressBar.
1.54k stars 233 forks source link

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

Open JibuVarghese opened 5 years ago

JibuVarghese commented 5 years ago

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

kofigyan commented 5 years ago

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.

JibuVarghese commented 5 years ago

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.