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

How to set bar colour in a BarView #25

Open
itsAlexNguyen opened this issue May 7, 2017 · 1 comment
Open

How to set bar colour in a BarView #25

itsAlexNguyen opened this issue May 7, 2017 · 1 comment

Comments

@itsAlexNguyen
Copy link

How can I set the barView colour? Can't seem to find it in XML or in code. Any help?

@chrisngn
Copy link

In BarView.java, there are three variables responsible for the color: TEXT_COLOR, BACKGROUND_COLOR, FOREGROUND_COLOR. You can just change their values manually inside BarView.java, but I thinks it's better if you make setters and getters for these variables and send in the values from your code.

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

2 participants