I want to make a button exactly like in this image
I want to use a xml file that will us
consider customizing a shape to it and use corners inside that shape:
shape
corners
So, save that shape in your /drawable folder, let's say it will be saved as "button_bg.xml", so when declaring the Button in your layout xml:
/drawable