I have the following code for a button in the layout file for my application
Create the following xml file in your drawable folder. And set your buttons background to this drawable.