Screenshots of the issue


Left (correct behavior): Android 10 / Right (incorrect behavior): Android 5.1
Component: Material Toolbar (com.google.android.material:material:1.1.0-beta01)
Base Theme: Theme.MaterialComponents.DayNight.NoActionBar
I'm passing app:theme attribute to Material Toolbar xml with following theme
<style name="Theme.Toolbar" parent="ThemeOverlay.MaterialComponents.Toolbar.Surface">
<item name="android:tint">?colorOnSurface</item>
<item name="actionMenuTextColor">?colorOnSurface</item>
<item name="android:textColorPrimary">?colorOnSurface</item>
<item name="android:textColorSecondary">?colorOnSurface</item>
</style>