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

Incorrect background color using withBackgroundColor() #8

Open
kylebriffa7 opened this issue Jun 12, 2018 · 0 comments
Open

Incorrect background color using withBackgroundColor() #8

kylebriffa7 opened this issue Jun 12, 2018 · 0 comments

Comments

@kylebriffa7
Copy link

kylebriffa7 commented Jun 12, 2018

When trying to set the background color of the splash screen using withBackgroundColor, the applied color is incorrect:

Specifically, in my case, I am setting a #8d6e63 (brown) using R.color.primaryColor.

withBackgroundColor(R.color.primaryColor)

The result is a violet color.


As a temporary solution, the following code works as expected:

withBackgroundColor(Color.parseColor("#8d6e63"))

Thank you.

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