How can I make a layout with rounded corners? I want to apply rounded corners to my LinearLayout.
I've taken @gauravsapiens answer with my comments inside to give you a reasonable apprehension of what the parameters will effect.
If you're just looking to create a shape that rounds the corners, removing the padding and the stroke will do. If you remove the solid as well you will, in effect, have created rounded corners on a transparent background.
For the sake of being lazy I have created a shape underneath, which is just a solid white background with rounded corners - enjoy! :)