How to make an ordinary view to have rounded corners in code without xml
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.
精彩评论