How to set a few clicks on different words of the text?

How the Facebook app does it. Multiple clickable texts in one textView.

I tried FlowLayout and some textual representations, but the textual representation is still shifted to another line when the text exceeds the width. Multiple clickable texts in one texview

+5
source share
1 answer

Spannable String is used in Android to highlight a specific piece of text with another click in event. Single TextView

You can check the demo for this. #SO

, .

+4

Source: https://habr.com/ru/post/1623886/


All Articles