ShadowLayout icon indicating copy to clipboard operation
ShadowLayout copied to clipboard

可定制化阴影的万能阴影布局ShadowLayout 3.0 震撼上线。效果赶超CardView。阴影支持x,y轴偏移,支持阴影扩散程度,支持阴影圆角,支持单边或多边不显示阴影;控件支持动态设置shape和selector(项目里再也不用画sha...

Results 7 ShadowLayout issues
Sort by recently updated
recently updated
newest added

如果我一直隐藏左右两边的阴影,吸附就没什么问题,现在就是按上述说的话,前两条都没问题,只有靠右吸附的时候有间距,但是点一下间距又消失了,debug看rightPadding也为0,有点搞不懂,望指教

我隐藏了 顶部的 阴影 显示效果 在y轴上阴影有偏移,当我只设置app:hl_cornerRadius="20dp" 阴影正常显示

如果仅显示底部阴影, 就会导致显示不全: <com.lihang.ShadowLayout android:id="@+id/mShadowLayout" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginTop="10dp" app:hl_cornerRadius_leftBottom="10dp" app:hl_cornerRadius_rightBottom="10dp" app:hl_shadowColor="#ef1A7BFF" app:hl_shadowHiddenLeft="true" app:hl_shadowHiddenRight="true" app:hl_shadowHiddenTop="true" app:hl_shadowLimit="5dp"> <View android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" /> </com.lihang.ShadowLayout> ![image](https://github.com/user-attachments/assets/87520aaf-bef8-4a7b-899f-c04f39787ea0) 如图, 底部阴影的左侧&右侧, 没有显示出来

设置渐变色后,将背景模糊