title: How to show HTML text in Android while detecting clicks on specific phrases and scrolling position?
body: <p>I'm getting a wall of plain HTML text from the server and need to render it in my application, but that's not all. </p>
  
  <p>I also need to detect clicks on specific phrases within the text. The phrases are defined by two numbers: word count where the phrase starts and word count where it ends (e.g. from word 10 to word 15).</p>
  
  <p>My intuition says that I could probably instrument the HTML with links or some JavaScript according to phrases spec and then listen for clicks on these links. However, I'm not sure how to achieve this kind of functionality in Android.</p>
  
  <p>In addition, I also need to be able to programmatically observe and manipulate the scrolling position within the shown HTML text. For instance, I'll need to understand when a specific phrase is scrolled off the screen.</p>
  
  <p>I guess I have three closely related questions:</p>
  
  <ol>
  <li>Which View should I use to achieve the above functionality (<code>TextView</code>, <code>WebView</code>, other)?</li>
  <li>How can I listen for clicks on specific parts of HTML?</li>
  <li>How can I observe and manipulate the scrolling position?</li>
  </ol>
  
  <p>Thanks</p>