There are two main approaches for rounded corners on android:
- Implement via layout definition, some examples can be found here: How to make layout with rounded corners..? 
- Implement via 9 patch, which is described here: http://developer.android.com/tools/help/draw9patch.html 
What I don't understand is why should I ever prefer using 9 patch instead of layout definition? Is there any benefit for it performance wise or for some other aspect?
 
     
    
 
    