EasySplashScreen icon indicating copy to clipboard operation
EasySplashScreen copied to clipboard

Incorrect background color using withBackgroundColor()

Open kylebriffa7 opened this issue 6 years ago • 0 comments

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.

kylebriffa7 avatar Jun 12 '18 14:06 kylebriffa7