Skip to content
New issue

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

使用hl_cornerRadius_leftTop 单独对设置圆角 并且 设置隐藏某条边的阴影, 阴影显示有偏移 #156

Open
wangxiongtao opened this issue Sep 28, 2022 · 0 comments

Comments

@wangxiongtao
Copy link

<com.lihang.ShadowLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
app:hl_cornerRadius_leftBottom="12dp"
app:hl_cornerRadius_leftTop="12dp"
app:hl_cornerRadius_rightBottom="20dp"
app:hl_cornerRadius_rightTop="12dp"
app:hl_shadowColor="#AA000000"
app:hl_shadowHiddenTop="true"

                app:hl_shadowLimit="10dp">

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant