title: How to make ClickableSpan links in MaterialAlertDialogBuilder clickable?
body: <p>I have a <code>SpannableStringBuilder</code> object with a <code>ClickableSpan</code> link like this,</p>
  
  <pre><code>SpannableStringBuilder ssb = new SpannableStringBuilder("Hi StackOverflow!");
  
  ClickableSpan clickableSpan = new ClickableSpan() {
      @Override
      public void onClick(@NonNull View widget) {
          Toast.makeText(MainActivity.this, "Clicked", Toast.LENGTH_SHORT).show();
      }
  };
  
  ssb.setSpan(clickableSpan, 3, 16, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
  </code></pre>
  
  <p>This works fine when I set it to a <code>TextView</code> and after using <code>textView.setMovementMethod(LinkMovementMethod.getInstance())</code></p>
  
  <p>When I set the <code>ssb</code> object to the <code>MaterialAlertDialogBuilder</code>, </p>
  
  <pre><code>new MaterialAlertDialogBuilder(this)
                  .setTitle("My Dialog")
                  .setMessage(ssb)
                  .show();
  </code></pre>
  
  <p>It displays as a clickable link but cannot actually click it
  <a href="https://i.stack.imgur.com/m9ORy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m9ORy.png" alt="MaterialAlertDialogBuilder preview"></a>
  I couldn't find a way to use <code>setMovementMethod</code> for the message in <code>MaterialAlertDialogBuilder</code>. Is there any way to make it clickable?</p>