Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fading of bars #14

Open
niteshkhatri opened this issue Dec 28, 2014 · 0 comments
Open

Remove fading of bars #14

niteshkhatri opened this issue Dec 28, 2014 · 0 comments

Comments

@niteshkhatri
Copy link

Hi. First of all thanks for such a great code. Nice work. I am implementing it one of my project but I am having a little problem. I don't want the old values of the bar to fade out. I want them to go instantly and not fade out. How can I achieve this?

I am using red color for the bars. I want the bars to fade really fast. If I use below code its not fading faster.

    mFadePaint.setColor(Color.argb(238, 255, 255, 255));

However, if I replace above code with below code to make it fade faster, the output is it does fades faster but the color is not red anymore. Its red with too much alpha.

    mFadePaint.setColor(Color.argb(100, 255, 255, 255));

I want the bars to fade really fast with maintaining their original color. How can I do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant