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
如果我一直隐藏左右两边的阴影,吸附就没什么问题,现在就是按上述说的话,前两条都没问题,只有靠右吸附的时候有间距,但是点一下间距又消失了,debug看rightPadding也为0,有点搞不懂,望指教
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
嗯 因为阴影是占据布局位置的,这也是ShadowLayout最大的缺点之一,我也一直在寻找解决这个缺点的办法,你可以尝试重新设置ShadowLayout大小,重新触发onMeasure和onSizeChange。可以先尝试下,有时间我会重构下这部分的功能
No branches or pull requests
如果我一直隐藏左右两边的阴影,吸附就没什么问题,现在就是按上述说的话,前两条都没问题,只有靠右吸附的时候有间距,但是点一下间距又消失了,debug看rightPadding也为0,有点搞不懂,望指教
The text was updated successfully, but these errors were encountered: