deano2390 / MaterialShowcaseView

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

how to change background color of showcaseview #184

Closed Vipul-StoryDigital closed 4 years ago

Vipul-StoryDigital commented 4 years ago

I am trying to change the background color of the showcase view, and I used
{ setMaskColor(100,0,0,0)//black } but there is no reflection of the black color. it takes default color. please help how to set the black color into the background of showcase view.

Ryanhustler420 commented 4 years ago

.setMaskColour(getResources().getColor(R.color.colorAccent))

IndiDaFunk commented 4 years ago

.setMaskColour(getResources().getColor(R.color.colorAccent)) ....This isn't working for me..

bhoomit11 commented 3 years ago

.setMaskColour(getResources().getColor(R.color.colorAccent)) ....This isn't working for me..

Same problem, not working :(

mohammadrezaberenji commented 3 years ago

@Ryanhustler420 @bhoomit11 use ContextCompat.getColor(this, R.color.showCaseMask) for settting mask color. this works for me