Skip to content Skip to sidebar Skip to footer

Appcompat-v7:25.3.0 : Appcompat Does Not Support The Current Theme Features: { Windowactionbar: False, Windowactionbaroverlay: False, . }

I am getting the following error while running and the activity does not start. The error is showing at setContentView(R.layout.activity_main); Please help. I am using the followin

Solution 1:

Android developers have made AppCompat more restricted about windowNoTitle flag as they were introduces AppCompatDialogs which are highly dependent on windowNoTitle flag - in version of 22.1.0.

So to fix your problem use your theme parent to - Theme.AppCompat.NoActionBar

If your requrement doesn't suite that, use separate theme where needed -

For example -

<stylename="MyTheme"parent="Theme.AppCompat">
    ...
</style><stylename="MyTheme.NoActionBar"><!-- both your properties are there --><!-- Remove other ones.. i.e. windowActionBarOverlay and all --><itemname="windowActionBar">false</item><itemname="windowNoTitle">true</item></style>

Reference - Android developer's blog

Solution 2:

<item name="windowActionBar">false</item>
   <item name="windowNoTitle">true</item> 

set this only in your theme found in styles.xml and delete this.

android:windowIsFloating: falsewindowActionBarOverlay:falsewindowActionBar:false

Post a Comment for "Appcompat-v7:25.3.0 : Appcompat Does Not Support The Current Theme Features: { Windowactionbar: False, Windowactionbaroverlay: False, . }"