TourGuide icon indicating copy to clipboard operation
TourGuide copied to clipboard

CustomView in setCustomView not working

Open CharanjeetRPOPS opened this issue 6 years ago • 1 comments

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

CharanjeetRPOPS avatar Aug 27 '18 12:08 CharanjeetRPOPS

You should set the shadow off.

 toolTip {
    shadow { false }
}

kevalpatel2106 avatar Mar 05 '19 15:03 kevalpatel2106