Controlling highlighting words

hi ,
if we tap and hold (long tap ) on a word in the android , the android system highlight this word and the highlighting color is blue .
the question : is there any way to control these system features programmatically inside my app using kotlin & android studio .
Thanks .

If there’s a way to control the highlight color then it will likely be possible from Kotlin the same way you would in Java. I’m not sure there is anything special to know about Kotlin in this case.

I don’t know the answer but the first Google search link (on stackoverflow) looks like it should help :slight_smile: : https://lmgtfy.com/?q=android+text+highlight+color

1 Like

Off Topic, but finally I found someone else who knows lmgtfy lol!