title: How can I get clickable hyperlinks in AlertDialog that will navigate to a new Activity?
body: <p>What i am trying to do is have a clickable hyperlink in the message displayed by an AlertDialog. My goal is to have an AlertDialog pop up asking if the user will accept or decline the Terms and Conditions similar to the following:</p>
  
  <p><img src="https://i.stack.imgur.com/a1QND.png" alt="enter image description here"></p>
  
  <p>When Clicking on the "Google Play Terms of Service" Hyperlink, I would like to start a new Activity. I have looked on here and I can find how to add a Hyperlink to a website as well as adding hyperlinks for text in a TextView, but i am unable to do this for the AlertDialog. I am looking for either a way to set up the Dialog to have hyperlink text linking to an Activity, or to get the TextView that the message is displayed in (i can manipulate the TextView myself). </p>
  
  <p>I have tried <code>(TextView) getDialog().findViewById(android.R.id.message)</code> to get the message TextView but this returns null. </p>
  
  <p>Any help would be much appreciated!</p>