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
可以只给banner的底部两个角设置为圆角,顶部不设置么?
The text was updated successfully, but these errors were encountered:
已解决
class BannerViewOutlineProvider : ViewOutlineProvider() { override fun getOutline(view: View?, outline: Outline?) { Log.e("BannerViewOutline", "${view!!.width}:${view.height}") val selfRect = Rect(0, -200, view!!.width, view.height) outline!!.setRoundRect(selfRect, 100f) } }
banner.clipToOutline = true // 用outline裁剪内容区域 banner.outlineProvider = BannerViewOutlineProvider()
Sorry, something went wrong.
Optimize cod for issue #202,setRoundCorner(int,int, int,int) supported.
d8fa38d
3.5.2发布,支持setRoundCorner(int,int, int,int).
No branches or pull requests
可以只给banner的底部两个角设置为圆角,顶部不设置么?
The text was updated successfully, but these errors were encountered: