Skip to content

How to set bar colour in a BarView #25

Open

Description

@itsAlexNguyen

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

Activity

  1. chrisngn commented on May 19, 2017

    @chrisngn

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions