Commit e0b8ffaf authored by Tiago Cunha's avatar Tiago Cunha

Let the click

parent 265d6c5a
...@@ -57,6 +57,6 @@ public class LinkMovementMethodCompat extends LinkMovementMethod { ...@@ -57,6 +57,6 @@ public class LinkMovementMethodCompat extends LinkMovementMethod {
} }
} }
return Touch.onTouchEvent(widget, buffer, event); return false;
} }
} }
...@@ -20,6 +20,8 @@ public class Linkify { ...@@ -20,6 +20,8 @@ public class Linkify {
public static void markup(TextView textview) { public static void markup(TextView textview) {
textview.setMovementMethod(LinkMovementMethodCompat.getInstance()); textview.setMovementMethod(LinkMovementMethodCompat.getInstance());
textview.setClickable(false);
textview.setLongClickable(false);
final CharSequence text = textview.getText(); final CharSequence text = textview.getText();
textview.setText(markupInner(text)); textview.setText(markupInner(text));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment