ShadowLayout icon indicating copy to clipboard operation
ShadowLayout copied to clipboard

Shadow on layout but not on it´s child views?

Open mikaelelofsson opened this issue 7 years ago • 1 comments

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.

mikaelelofsson avatar Oct 23 '17 12:10 mikaelelofsson

just set background will fix this. 这个库的原理是:复制一遍绘制的内容,将内容的颜色成分去掉,保留alpha,然后使用模糊滤镜达到模拟阴影的效果。

wenmin92 avatar Mar 08 '18 06:03 wenmin92