You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
Using the code:
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?
The text was updated successfully, but these errors were encountered: