user1060315
user1060315

Reputation: 61

Linkify + textIsSelectable

After using

Linkify.addLinks(content, pattern_glos, scheme_glos, null, glosFilter);

logs write

11-22 21:19:15.319: W/TextView(14718): TextView does not support text selection. 
  Action mode cancelled.

And text is not selectable. I need both and links and selectable.

Upvotes: 6

Views: 1426

Answers (1)

LuxuryMode
LuxuryMode

Reputation: 33741

To make links in a TextView clickable, you need to call textView.setLinksClickable(true); and textView.setMovementMethod(LinkMovementMethod.getInstance());

Upvotes: 1

Related Questions