I'm using Material3 Theme. Theme.Material3.Light.NoActionBar
Now the background of bottom navigation view was changed into the Dynamic Color automatically But for the toolbar, it doesn't work.
DynamicColors.applyToActivitiesIfAvailable(getApplication());