Skip to content

CustomView in setCustomView not working #142

Description

@CharanjeetRPOPS

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions