title: ActionBarCompat change effect in Android
body: <p>I'm developing an App using Google's UI design guidelines, so I want to implement the ActionBar.</p>
  
  <p>It must run on 2.2 so I decided to use the ActionBarCompat example.</p>
  
  <p>Instead of using the iosched one, where the action bar is a layout included in an XML file, I decided to implement this using a helper:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
    mActivity.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); 
  }
  
  public void onPostCreate(Bundle savedInstanceState) {
    mActivity.getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
      R.layout.actionbar_compat);
    setupActionBar();
  }
  </code></pre>
  
  <p>The problem is that, when my app is loading, it displays the default TitleBar and then, it changes to mine, so, there is an ugly effect... </p>
  
  <p>Any way to avoid it?</p>
  
  <p>Thank You!!</p>