Assigned
Status Update
Comments
sh...@gmail.com <sh...@gmail.com> #2
I haven't tried this feature before, but it appears that you'd want to trigger it at the decor View level. We won't likely implement it beyond the ComposeView
level in the near future.
Please try that and see if it satisfies your needs.
activity.window.decorView.filterTouchesWhenObscured = true
Description
Compose version: 1.0.0-alpha03
Steps to reproduce
Expected behaviour: The whole card is almost completely transparent.
What I see: The card's surface is transparent, but there is a dark gray frame around it, which I guess is the shadow. Setting elevation to
0.dp
removes the frame.I think
drawOpacity
should affect the shadow opacity too.I also believe I haven't seen this artifact on alpha01 and before.