简体   繁体   English

弯曲的视图边缘

[英]Curved edge of a view

I'm trying to use CardView whose bottom edge is curved like the below image. 我正在尝试使用CardView,其底边像下图一样弯曲。 I don't want curved corners and just want bottom of card or any other View to be curved. 我不想弯曲的角落,只是想要卡的底部或任何其他视图弯曲。 How can I achieve this? 我怎样才能做到这一点?

Thanks 谢谢

在此输入图像描述

在这里查看这个库: https//github.com/developer-shivam/Crescento您可以按原样使用此效果,或者您可以查看源代码并亲自查看实现!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM