TourGuide icon indicating copy to clipboard operation
TourGuide copied to clipboard

Change the font-family and other attributes

Open subediaayush opened this issue 9 years ago • 1 comments

Is there a way to change the font-family attributes for the tooltips. I tried using setCustomView, but the new tooltip only displays an empty black view. Is there a set of ids and layout I should be using for the custom view?

subediaayush avatar Sep 02 '16 09:09 subediaayush

I have the same problem. image link https://ibb.co/nGYUwk code is: its in Kotlin

val act = context
        val layout = LinearLayout(act)
        layout.orientation = LinearLayout.VERTICAL
        layout.backgroundColor = Color.WHITE
        val name = EditText(act)
        name.textColor = Color.BLACK
        val button = Button(act)
        button.text = "button 1"

        val button2 = Button(act)
        button2.text = "button 2 button 2 button 2"
        button2.textColor = Color.BLUE


        layout.setBackgroundColor(Color.WHITE)

        layout.addView(name)
        layout.addView(button)
        layout.addView(button2)

        return layout

iamam234 avatar Aug 27 '17 08:08 iamam234