How to achieve scrollable TextView with custom popup on ClickableSpan at span location?

317 views Asked by At

enter image description here

As shown in above image(subview of some screen), I want to achieve the scrollable text content(from dynamic json data) in which I have color & linked span.

Once user clicked on this span I want to show popup as shown in reference image(consider different angles & scrolls).

Anyone help me for the popup view at span text or any other option:

  • Bind dynamic text and generate spannable & clickable text on text view with scrollable content? - Done
  • How to get exact location of span for text view inside scrollview(scrollable content)?
  • How to show popup at that location from span we get?

For Popup in static views I can find few libraries which can help but for content inside scroll it is not working as expected.

0

There are 0 answers