package com.strongloop.android.loopback.guide.util;

import android.support.v4.app.Fragment;
import android.text.Html;
import android.view.ViewGroup;
import android.widget.TextView;

public class HtmlFragment extends Fragment {

	private ViewGroup rootView;

	protected ViewGroup getRootView() { return rootView; }
	protected void setRootView(ViewGroup value) { rootView = value; }
	
	public HtmlFragment() {
		super();
	}

	protected void setHtmlText(int textViewId, int stringResourceId) {
	    TextView text = (TextView)getRootView().findViewById(textViewId);
	    String htmlContent = getString(stringResourceId);
	    text.setText(Html.fromHtml(htmlContent));
	}

}
@@ -112,16 +112,63 @@
 t.Html;%0A
+import android.text.method.LinkMovementMethod;%0A
 import a
@@ -705,13 +705,76 @@
 tent));%0A
+%09    text.setMovementMethod(LinkMovementMethod.getInstance());%0A
 %09%7D%0A%0A%7D

Make links clickable.