title: Cannot resolve constructor on Typeface error
body: <p>Apologies if this seems obvious. I want to set the font of my alert dialog title to match a <code>.ttf</code> file using <code>Spannable</code> String. However I am retrieving a cannot resolve constructor </p>
  
  <blockquote>
    <p>(TypefaceSpan(android.graphics.'Typeface')) error.</p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>Typeface customFont;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);
  
      customFont = Typeface.createFromAsset(getAssets(), "fonts/pacifico_regular.ttf");
  
      ...
  
      questionButton.setOnClickListener(new View.OnClickListener() {
  
              @Override
              public void onClick(View v) {
                   SpannableString title = new SpannableString("HOW TO USE THE APP");
                   title.setSpan(new TypefaceSpan(customFont),
                              0, title.length(), 
                   Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
              }
  }
  </code></pre>