How to get rid of the underline in a Spannable String with a Clickable Object?

后端 未结 10 2014
陌清茗
陌清茗 2021-02-03 16:44

I have a Spannable Object with a Clickable Object set to it. When the Spannable String is displayed in the TextView it has bl

10条回答
  •  生来不讨喜
    2021-02-03 17:26

    If you do not want any pre-applied attributes do not call super.updateDrawState(). On overriding updateDrawState(object:Textpaint) with help of object you can apply or call different functions present in Text Paint.

提交回复
热议问题