title: AppCompat does not support the current theme features
body: <p>Studio gives me error like below . How can I solve this? I tried other solutions . But they dont work. emulator's API : 21 . All Other API's works. But in this gives me error . When I click an item in the Navigation drawer menu , it crashes</p>
  
  <p><strong>Error Output :</strong> </p>
  
  <pre><code>java.lang.RuntimeException: Unable to start activity  ComponentInfo{com.dd.myApplicaiton/com.d.myapplication.category.CategoryActivityDialog}: 
  java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: true, windowNoTitle: false }
                                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
                                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
                                                                               at android.app.ActivityThread.access$800(ActivityThread.java:144)
                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
                                                                               at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                               at android.os.Looper.loop(Looper.java:135)
                                                                               at android.app.ActivityThread.main(ActivityThread.java:5221)
                                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                                               at java.lang.reflect.Method.invoke(Method.java:372)
                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
                                                                            Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: true, windowNoTitle: false }
                                                                               at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:423)
                                                                               at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:280)
                                                                               at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:254)
                                                                               at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
                                                                               at com.d.d.common.BaseMenuActivity.onCreate(BaseMenuActivity.java:71)
                                                                               at com.d.d.category.CategoryActivity.onCreate(CategoryActivity.java:30)
                                                                               at com.d.d.category.CategoryActivityDialog.onCreate(CategoryActivityDialog.java:14)
                                                                               at android.app.Activity.performCreate(Activity.java:5933)
                                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
                                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
                                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) 
                                                                               at android.app.ActivityThread.access$800(ActivityThread.java:144) 
                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) 
                                                                               at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                               at android.os.Looper.loop(Looper.java:135) 
                                                                               at android.app.ActivityThread.main(ActivityThread.java:5221) 
                                                                               at java.lang.reflect.Method.invoke(Native Method) 
                                                                               at java.lang.reflect.Method.invoke(Method.java:372) 
                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) 
                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) 
  </code></pre>
  
  <p><strong>themes.xml</strong></p>
  
  <pre><code> &lt;style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
          &lt;item name="android:actionButtonStyle"&gt;@style/ActionButtonStyle&lt;/item&gt;
          &lt;item name="android:buttonStyle"&gt;@style/ButtonStyle&lt;/item&gt;
          &lt;item name="android:textColor"&gt;@android:color/black&lt;/item&gt;
          &lt;item name="android:checkboxStyle"&gt;@style/CheckBoxStyle&lt;/item&gt;
          &lt;item name="android:textColorHighlight"&gt;#9963c531&lt;/item&gt;
          &lt;item name="android:listViewStyle"&gt;@style/ListViewTheme&lt;/item&gt;
          &lt;item name="android:listViewWhiteStyle"&gt;@style/ListViewTheme.White&lt;/item&gt;
          &lt;item name="android:windowBackground"&gt;@color/gray_light&lt;/item&gt;
          &lt;item name="android:colorBackground"&gt;@color/gray_light&lt;/item&gt;
          &lt;item name="android:ratingBarStyle"&gt;@style/RatingBarTheme&lt;/item&gt;
          &lt;item name="android:ratingBarStyleSmall"&gt;@style/RatingBarSmallTheme&lt;/item&gt;
          &lt;!-- Support library compatibility --&gt;
          &lt;item name="actionButtonStyle"&gt;@style/ActionButtonStyle&lt;/item&gt;
          &lt;item name="drawerArrowStyle"&gt;@style/DrawerArrowStyle&lt;/item&gt;
  
          &lt;item name="colorPrimaryDark"&gt;#B8A877&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>