uplift

While you cannot tint an elevation shadow, you can tweak it in clever ways to obtain subtler shadows, or simply some specific effect.

github-banner

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).

While-you

demo

Get it on Google Play

Companion app for my blog post on elevation tricks — you can play around with several parameters to get a custom elevation for your views.

GitHub