saket / Better-Link-Movement-Method

Attempts to improve how clickable links are detected, highlighted and handled in TextView
Apache License 2.0
780 stars 78 forks source link

Use a custom BackgroundColorSpan for highlighting URLs #8

Closed saket closed 6 years ago

saket commented 6 years ago

In the current implementation, it's possible that a TextView already has background highlighting apart from URLs, where BetterLinkMovementMethod might end up removing it. Using a custom span class for background color should solve this problem.

saket commented 6 years ago

Fixed in https://github.com/Saketme/Better-Link-Movement-Method/releases/tag/v2.2.0