title: Actionbarsherlock switch Actionbar Overlay Mode programmatic
body: <p>i use Actionbarsherlock for my App and i like to switch the Actionbar Overlay Mode in my Code.
  I have 2 Fragments (one is a Mapview where i want a translucent Actionbar) the other is a ListFragment where a solid Actionbar is needed.</p>
  
  <p>i tryed</p>
  
  <pre><code>requestWindowFeature((int) Window.FEATURE_ACTION_BAR &amp; ~Window.FEATURE_ACTION_BAR_OVERLAY);
  </code></pre>
  
  <p>problem with this is that requesting Features only works before content is added.</p>
  
  <p>i using this style to accomplish the transparent Actionbar</p>
  
  <pre><code>&lt;style name="TransparentActionbar" parent="@style/Theme.Sherlock" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item name="windowActionBarOverlay"&gt;true&lt;/item&gt;
      &lt;item name="windowActionModeOverlay"&gt;true&lt;/item&gt;
      &lt;item name="abBackground"&gt;#96000000&lt;/item&gt;
      &lt;item name="abDivider"&gt;@null&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>is there a way to set </p>
  
  <pre><code>&lt;item name="windowActionBarOverlay"&gt;true&lt;/item&gt;
  &lt;item name="windowActionModeOverlay"&gt;true&lt;/item&gt;
  </code></pre>
  
  <p>to false inside the Activity/Fragment?</p>