Remove unwanted shadow when cards are placed side by side in Jetpack Compose
I've put together a custom shape using two cards that are placed side by side in Jetpack Compose. I want the shape to be elevated, i.e., have a drop shadow. If I elevate the two cards, both cards get shadows as if they're a single shape.
https://i.sstatic.net/T76lQfJj.png▾
Example code:
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.height
import...