A playground for elevation on Android:
While you cannot tint an elevation shadow, you can tweak it in clever ways to obtain subtler shadows,
or simply some specific effect. This can be seen in action in the Squanchy
schedule screen, which uses a custom OutlineProvider
to cast shadows for the cards that look more
like diffuse shadows (although they're very much still the area shadow that the Material guidelines
specify, there is no custom drawing code there).
See the LICENSE
file. tl;dr it's Apache 2.0