ShadowLayout
ShadowLayout copied to clipboard
Shadow on layout but not on it´s child views?
Is it possible to only drop shadow on a layout, not having it set on it´s child views?
I want the shadow attached to a constraint layout, but not on an imagebutton that is in the layout.
just set background will fix this. 这个库的原理是:复制一遍绘制的内容,将内容的颜色成分去掉,保留alpha,然后使用模糊滤镜达到模拟阴影的效果。