title: Customizing action bar in android shows default action bar first
body: <p>I am new to android, while customizing action bar i noticed that first it shows old(default) action bar first then it shows customized action bar. Also I want to set text color for action bar title. 
  My code snippet is </p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
      MenuItem searchItem;
      SearchView searchView;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          ActionBar ab = getSupportActionBar();
  
          ab.setTitle("Modification"); ab.setIcon(R.drawable.ap);
          ab.setBackgroundDrawable(new
          ColorDrawable(Color.parseColor("#00AA00")));
          ab.setSubtitle("Modification");
  
          setContentView(R.layout.activity_main);
  </code></pre>
  
  <p>I think there must be some silly mistake.<br>
  Please help.</p>