When you set the elevation of a view with multiple values for borderRadius the elevation shadow doesn't follow the borderRadius. This does work correctly when you set the borderRadius to a single value.
- Run the code on a Android device/emulator
The elevation shadow follows the view border.
The elevation shadow renders as if the view is rectangular.