Code example for ActionBarActivity

Methods: onConfigurationChanged

0
		return true; 
	} 
	 
	@Override 
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
    } 
	 
	private void setupLinks(int stringID, int textViewID) {
		SpannableStringBuilder strBuilder = new SpannableStringBuilder(getText(stringID));
		URLSpan[] urlSpans = strBuilder.getSpans(0, strBuilder.length(), URLSpan.class);
		for (final URLSpan span : urlSpans) {
		    int start = strBuilder.getSpanStart(span);
		    int end = strBuilder.getSpanEnd(span);
		    strBuilder.removeSpan(span);
		    strBuilder.setSpan(new CustomURLSpan(this, span.getURL()), start, end,
		    		Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
		} 
		((TextView)findViewById(textViewID)).setText(strBuilder);
		((TextView)findViewById(textViewID)).setMovementMethod(LinkMovementMethod.getInstance());
Connect your IDE to all the code out there  Get Codota for Java