I got it working for an hour without this warning:
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.
But now I changed a few theme colors and it stops working with the Material appcompat toolbar. I have added
<item name="android:windowActionBar">false</item>
to my theme file but no luck anymore. Suggestions?
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.
But now I changed a few theme colors and it stops working with the Material appcompat toolbar. I have added
<item name="android:windowActionBar">false</item>
to my theme file but no luck anymore. Suggestions?