title: Do not request Window.FEATURE_ACTION_BAR issue
body: <p>I'm trying to build my app but without success.. I tried several way but nothing was worked. The exception is:</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
  </code></pre>
  
  <p>My style.xml is:</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;style name="AppTheme" parent="Theme.AppCompat.Light"&gt;
  
          &lt;!-- theme customizations --&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;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
          &lt;item name="android:windowActionBar"&gt;false&lt;/item&gt;
  
          &lt;item name="android:textColorPrimary"&gt;@color/ldrawer_color&lt;/item&gt;
          &lt;item name="actionMenuTextColor"&gt;@color/ldrawer_color&lt;/item&gt;
          &lt;item name="android:textColorSecondary"&gt;@color/ldrawer_color&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>and as you can see i have declared</p>
  
  <pre><code>&lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
  &lt;item name="android:windowActionBar"&gt;false&lt;/item&gt;
  </code></pre>
  
  <p>This is my manifest.xml</p>
  
  <pre><code> &lt;application
          android:allowBackup="true"
          tools:replace="android:icon"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  </code></pre>
  
  <p>and my <code>BaseActivity</code> that i use to extend other activities</p>
  
  <pre><code>import android.os.Bundle;
  import android.support.v7.app.AppCompatActivity;
  import android.support.v7.widget.Toolbar;
  
  public abstract class BaseActivity extends AppCompatActivity {
  
      public Toolbar toolbar;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(getLayoutResource());
          toolbar = (Toolbar) findViewById(R.id.toolbar);
          if (toolbar != null) {
              setSupportActionBar(toolbar);
              getSupportActionBar().setTitle(BaseActivity.this.getResources().getString(R.string.app_name));
              //getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          }
      }
  
      protected abstract int getLayoutResource();
  
      protected void setActionBarIcon(int iconRes) {
          toolbar.setNavigationIcon(iconRes);
      }
  
  }
  </code></pre>
  
  <p>I don't know why it crashes..The only way to start the application without crash is set the parent on the style.xml in <code>Theme.AppCompat.Light.NoActionBar</code> but in this way the status bar is transparent and not colored...</p>