Code example for TextView

Methods: setMovementMethod

0
            paint.setTypeface(DEFAULT_BOLD); 
        } 
    }; 
 
    public static void makeLinksClickableIn(TextView textView) {
        textView.setMovementMethod(LinkMovementMethod.getInstance()); // otherwise links aren't clickable...
    } 
 
    public static interface Listener { 
        public void onClick(String command, View widget);
    } 
}