07/19/2022, 6:01 AM
Android MaterialCardView's drop shadow/elevation disappears when rotating it 180 degrees Summarize the problem: I am working on a paint app, and in this app, the user has the option to rotate the canvas, this feature can be useful in some scenarios. The problem I am having, is that when I rotate the CardView, which hosts the canvas/bitmap, 180 degrees -- the drop shadow gets lost. I do not get this problem when I rotate the CardView 90 degrees, only 180 degrees. Describe what you've tried I've tried many things, such as giving the CardView more space so that the drop shadow will...