I am using the new [Bottom App Bar](https://material.io/develop/android/components/bottom-app-bar/) from the Material Design Components. I am trying to give shadow at the top of the Bottom App Bar like the one in Google Tasks app as shown below.

[![enter image description here](https://i.stack.imgur.com/7YOxI.jpg)](https://i.stack.imgur.com/7YOxI.jpg)

I have tried using both `android:elevation` and `app:elevation` attribute. Please help.