How can I make a layout with rounded corners? I want to apply rounded corners to my LinearLayout.
LinearLayout
Use CardView in android v7 support library. Though it's a bit heavy, it solves all problem, and easy enough. Not like the set drawable background method, it could clip subviews successfully.