TourGuide
TourGuide copied to clipboard
CustomView in setCustomView not working
When i am trying to set custom view in setCustomView it shows a black shadow line instead of my custom view
below is my code:
tourGuide = TourGuide.create(this) {
toolTip {
val layoutInflater =getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater
val view = layoutInflater.inflate(R.layout.row, null, true)
setWidth(200)
setCustomView(view as ViewGroup)
}
overlay {
disableClick { false }
disableClickThroughHole { false }
style { Overlay.Style.ROUNDED_RECTANGLE }
onClickListener { View.OnClickListener { tourGuide.cleanUp() } }
backgroundColor { Color.parseColor("#AAFF0000") }
}
}.playOn(button)
@worker8
You should set the shadow off.
toolTip {
shadow { false }
}