title: Clickable Link inside an Android .html raw file
body: <p>I'm using a webview inside for a fragment's layout and using a local .html file to load when the fragment is created. But I would like to have a clickable link that on click opens the internet browser to take you to the webpage. How can this be done? </p>
  
  <p>XML layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/first_fragment"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:paddingLeft="10dp"
  android:paddingRight="10dp"
  android:paddingTop="5dp"
  android:paddingBottom="5dp"&gt;
  
  &lt;WebView
      android:id="@+id/setup_webview"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"/&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>My local .html file</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;link&gt;
  
  &lt;h1 style="background-color:#000044;color:white"&gt;&amp;nbsp;Setup&lt;/h1&gt;
  
  &lt;p&gt;There are two ways to set up the app to be able to connect to a robot. You can use a simulated robot, or a real robot.&lt;/p&gt;
  
  &lt;hr&gt;
  
  &lt;h3&gt;&lt;font color="#000044"&gt;Using a Simulated Robot&lt;/font&gt;&lt;/h3&gt;
  &lt;p&gt;It is likely easier to access a simulated robot than a real one so follow these steps to set it up&lt;/p&gt;
  
  &lt;h4&gt;&lt;font color="#000044"&gt;Step 1: Installing Ubuntu 14.04.3&lt;/font&gt;&lt;/h4&gt;
  &lt;p&gt;Download a 32 or 64 bit Ubuntu 14.04.3 iso, either will work, and install it on a physical computer or a virtual machine.&lt;/p&gt;
  &lt;p&gt;The robot will move much much smoother if Ubuntu 14.04 is installed to a physical computer.&lt;/p&gt;
  
  &lt;h4&gt;&lt;font color="#000044"&gt;Step 2: Installing ROS Indigo&lt;/font&gt; &lt;/h4&gt;
  &lt;p&gt;Once you have Ubuntu installed, follow the instructions at &lt;link&gt;http://wiki.ros.org/indigo/Installation/Ubuntu&lt;/link&gt;&lt;/p&gt;
  
  
  &lt;br&gt;
  </code></pre>
  
  <p>How it currently looks
  <a href="https://i.stack.imgur.com/fsFMH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fsFMH.png" alt="enter image description here"></a></p>