onConfigurationChanged

To be called from the corresponding function in the relevant UI component.

This is necessary only if configuration changes are already being handled manually, and different app themes have different shadow alpha values.