deano2390 / MaterialShowcaseView

A Material Design themed ShowcaseView for Android
Apache License 2.0
2.72k stars 526 forks source link

Bugfix: color-integers on Android are allowed to be negative #186

Closed perchrh closed 1 year ago

perchrh commented 4 years ago

This occurs for example with #88000000 (a dark mask). Color.parseColor("#88000000) returns -2013265920.

Furthermore, while generally a good practice, there is no need to guard against unset values here, as the three color values are guaranteed to be set by the constructor of ShowcaseConfig.

Solves #184 and #17

Armalon commented 4 years ago

Waiting for this bug fix too!