I'm using Theme.MaterialComponent, but it not affects to my actionBar, why?
style.xml
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@color/windowBackground</item>
<item name="android:textColor">@color/white</item>
</style>
colors.xml
<resources>
<color name="colorPrimary">#801336</color>
<color name="colorPrimaryDark">#510a32</color>
<color name="colorAccent">#ee4540</color>
<color name="windowBackground">#2d142c</color>
<color name="white">#FFF</color>
</resources>
