We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果view的高度增加,阴影会被截断
The text was updated successfully, but these errors were encountered:
是因为这里的67行缓存了图片的尺寸导致的。 mRect 可以一开始就初始化一个对象(去掉66行),然后67行改成设置
mRect
this.mRectF.set((float)(bounds.left + this.mShadowRadius - this.mOffsetX), (float)(bounds.top + this.mShadowRadius - this.mOffsetY), (float)(bounds.right - this.mShadowRadius - this.mOffsetX), (float)(bounds.bottom - this.mShadowRadius - this.mOffsetY));
ShadowHelper/library/src/main/java/cn/davidsu/library/CustomShadowBackground.java
Lines 63 to 76 in 1d96c39
Sorry, something went wrong.
No branches or pull requests
如果view的高度增加,阴影会被截断
The text was updated successfully, but these errors were encountered: