I am trying to change the text color of the text in Default Action Bar using Theme. I can easily change the background of the Status Bar, but whatever I do, the text stays the same in Action Bar:
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.MyAapp" parent="Theme.AppCompat.DayNight">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/ocean</item>
<item name="colorPrimaryVariant">@color/light_ocean</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/ocean</item>
<item name="colorSecondaryVariant">@color/dark_ocean</item>
<item name="colorOnSecondary">@color/ocean</item>
<!-- Status bar color. -->
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
Is it possible to override it in Theme.AppCompat.DayNight? I need to use this theme. I will appreciate your help.

