title: Actionbar title font not changing in android
body: <p>I want to change a custom font to my action bar title, have gone through couple of accepted answers,but no luck,I have tried as below,But my custom font is not applied to my actionbar title,Please help me to get rid of this,my code is as below:</p>
  
  <p><strong>java</strong></p>
  
  <pre><code>Typeface font = Typeface.createFromAsset(getActivity().getAssets(),
                  "neuropolx.ttf");
          SpannableString s = new SpannableString(
                  "                     KOLAY RANDEVU");
          s.setSpan(new CustomTypefaceSpan("", font), 0, 4,
                  Spanned.SPAN_EXCLUSIVE_INCLUSIVE);
          getActivity().getActionBar().setTitle(s);
  </code></pre>