title: ActionBar with support library and Fragments overlay content
body: <p>I added the <strong>android-support-library-v7-appcompat</strong> to my project to support ActionBar from API level 7 above.</p>
  
  <p>It works like a charm on android 4.0+ and also on android 2.3 with a normal Activity that has setContentView in onCreate, but when the activity is loading an Fragment in onCreate the ActionBar gets overlapped with the content of my layout. At all other scenarios the ActionBar works well. </p>
  
  <p>Here is some code:</p>
  
  <pre><code>class AssetsActivity extends ActionBarActivity{
      @Override
      protected void onCreate(Bundle arg0)
      {
          super.onCreate(arg0);
  
          OpenLocalFragment assets = OpenLocalFragment.newInstance(index);
              assets.setArguments(getIntent().getExtras());
          getSupportFragmentManager().beginTransaction()
                      .add(android.R.id.content, assets).commit();
      }
   }
  </code></pre>
  
  <p>The theme of this activity is set in the manifest to: </p>
  
  <blockquote>
    <p>@style/Theme.AppCompat</p>
  </blockquote>
  
  <p>An this is the result on android 2.3 (on 4.0+ the ActionBar shows well)
  <img src="https://i.stack.imgur.com/Kg1YS.png" alt="actionBar overlaping"></p>
  
  <p>You can se that the first lisview item is overlaping the ActionBar(White round icon and title "My activity")</p>
  
  <p>It is possible that i found a bug in the support library, it is released only for 2 days now?
  Thanks to all.</p>