title: Theme isn't applying in Fragment
body: <p>I am trying to apply a specific theme on a Fragment. But for some reason it isn't happening. Can anyone point out mistakes in my code? Or better solutions?</p>
  
  <p>Theme in styles.xml:</p>
  
  <pre><code>&lt;!-- Theme for trans actionbar --&gt;
  &lt;style name="TransTheme" parent="@style/AppTheme"&gt;
      &lt;item name="android:actionBarStyle"&gt;@style/TransActionbar&lt;/item&gt;
      &lt;item name="android:windowActionBarOverlay"&gt;true&lt;/item&gt;
      &lt;item name="actionBarStyle"&gt;@style/TransActionbar&lt;/item&gt;
      &lt;item name="windowActionBarOverlay"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Where <code>@style/TransActionbar</code> is:</p>
  
  <pre><code>&lt;!-- Actionbar style for trans theme --&gt;
  &lt;style name="TransActionbar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"&gt;
      &lt;item name="android:background"&gt;@color/first_trans_actionbar&lt;/item&gt;
      &lt;item name="background"&gt;@color/first_trans_actionbar&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>How I want to apply the theme in my fragment in the <code>onCreateView()</code> method:</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      //set theme
      final Context contextWrapper = new ContextThemeWrapper(getActivity(), R.style.TransTheme);
      LayoutInflater localInflater = inflater.cloneInContext(contextWrapper);
      contentView = localInflater.inflate(R.layout.fragment_movie_detail,
              container, false);
      return contentView:
  }
  </code></pre>
  
  <p>For some reason the Fragment keeps the old theme..</p>
  
  <p><strong>Edit</strong></p>
  
  <p>So basically the question comes down to: How do you make an Actionbar transparent (and overlay mode) in just one fragment of an activity?</p>