开发者

How to make an ordinary view to have rounded corners in code without xml

开发者 https://www.devze.com 2023-03-24 05:53 出处:网络
Is there any way to make an ordinary view to have rounded corners in code completely without xml? Overriding onDraw is not the way I\'m looking for,either. I have read the posts:

Is there any way to make an ordinary view to have rounded corners in code completely without xml? Overriding onDraw is not the way I'm looking for,either. I have read the posts: How to make an ImageView with 开发者_运维问答rounded corners?

and How do I create a ListView with rounded corners in Android?

, but they are not what I'm looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消