title: AppCompat does not support the current theme features - nothing works
body: <p>I'm trying to use MaterialDesign in my project but I'm getting this error all the time:</p>
  
  <pre><code>Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
          at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:371)
          at android.support.v7.app.AppCompatDelegateImplV7.initWindowDecorActionBar(AppCompatDelegateImplV7.java:173)
          at android.support.v7.app.AppCompatDelegateImplBase.getSupportActionBar(AppCompatDelegateImplBase.java:87)
          at android.support.v7.app.AppCompatDelegateImplV7.setSupportActionBar(AppCompatDelegateImplV7.java:197)
          at android.support.v7.app.AppCompatActivity.setSupportActionBar(AppCompatActivity.java:99)
          at de.memorian.playpal.MainActivity.afterInject(MainActivity.java:72)
  </code></pre>
  
  <p>I've reade through similar problems but everytime I'm getting the same error.</p>
  
  <p><strong>MainActivity.java:</strong></p>
  
  <pre><code>@EActivity(R.layout.activity_main)
  public class MainActivity extends AppCompatActivity {
  
  @ViewById
  protected Toolbar toolbar;
  
  @AfterInject
  public void afterInject() {
      setSupportActionBar(toolbar);
      getSupportActionBar().setDisplayShowHomeEnabled(true);
  }
  }
  </code></pre>
  
  <p><strong>styles.xml:</strong></p>
  
  <pre><code>&lt;style name="AppTheme" parent="AppTheme.Base"/&gt;
  
  &lt;style name="AppTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>styles-v21.xml:</strong></p>
  
  <pre><code>style name="AppTheme" parent="AppTheme.Base"&gt;
      &lt;!-- enable window content transitions --&gt;
      &lt;item name="android:windowContentTransitions"&gt;true&lt;/item&gt;
      &lt;item name="android:windowAllowEnterTransitionOverlap"&gt;true&lt;/item&gt;
      &lt;item name="android:windowAllowReturnTransitionOverlap"&gt;true&lt;/item&gt;
      &lt;!-- specify shared element transitions --&gt;
      &lt;item name="android:windowSharedElementEnterTransition"&gt;@android:transition/move&lt;/item&gt;
      &lt;item name="android:windowSharedElementExitTransition"&gt;@android:transition/move&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>I've tried setting parent theme to any derivation of .NoActionBar, but still. I've also tried removing all code from AndroidAnnotations and doing it the regular way with <code>setContentView</code> and <code>findViewById(R.id.toolbar)</code>. Only thing that bothers me is that I set <code>windowNoTitle</code> to <code>true</code> but in the log it says it is <code>false</code>.</p>
  
  <p>Any help?</p>