title: setTypeface(font) is not working
body: <p>I set typeface in run time .But it is not reflecting in my application.</p>
  
  <pre><code>package com.example.practice;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.graphics.Typeface;
  import android.view.Menu;
  import android.view.View;
  import android.widget.TextView;
  
  public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          Typeface font = Typeface.createFromAsset(getAssets(), "fonts/Windsong.ttf");
          View customActionBar=getLayoutInflater().inflate(R.layout.activity_main, null);
          TextView actionBarTitle=(TextView)customActionBar.findViewById(R.id.helloworld);
          actionBarTitle.setTypeface(font); 
      }
  
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.main, menu);
          return true;
      }
  
  }
  </code></pre>
  
  <p>I am Expecting the following font.</p>
  
  <p><img src="https://i.stack.imgur.com/7MNy5.png" alt="enter image description here"></p>
  
  <p>But i am getting the following output.</p>
  
  <p><img src="https://i.stack.imgur.com/sLf5O.png" alt="enter image description here"></p>