Sneaker
Sneaker copied to clipboard
Message Text always has a white background (see photo)
Using the code:
Sneaker.with(this) // Activity, Fragment or ViewGroup
.setTitle("Warning!!")
.autoHide(false)
.setMessage("Please check your internet connection.", getResources().getColor(R.color.black, null))
.sneak(getResources().getColor(R.color.alert_yellow, null));
I always see a white background for the text. I've tried multiple OS versions, and all the same.
I have also tried using .sneakWarning()
, which showed the same thing.
Is there any way to supply a transparent background for the text?

You app theme might be affecting the textview.
Also use R.color.black
instead of getResources().getColor(R.color.black, null)
to set color. Check documentation for further references.