ClickableSpan not clickable in custom view (not TextView)
问题 In our app we want to improve scroll speed via drawing custom views with text. Problem is ClickableSpan not clicked. For TextView we can use textView.setMovementMethod(LinkMovementMethod.getInstance()); But what can I do to make link clicking work in custom view? public class AutoLinkTextView extends View { private static final String TAG = "AutoLinkTextView"; private StaticLayout staticLayout; public AutoLinkTextView(Context context) { super(context); initializeViews(); } public