I want to make a button exactly like in this image
I want to use a xml file that will us
Here is code to create button in xml,but if you want to create button as a capsule shaped you have to add the background
create button_background.xml in drawable folder,write the following code in button_background.xml