Skip to content

Incorrect background color using withBackgroundColor() #8

Description

@kylebriffa7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions