title: Create Button with rounded corners in android
body: <p><img src="https://i.stack.imgur.com/kh3Od.jpg" alt="enter image description here"></p>
  
  <p>I'm trying to create a button which looks as in the image above. Initially my idea was to create a 9 patch and set it as the button background. But since, this is a plain button, i think we can somehow draw this without using any images.</p>
  
  <p>The button background color is #0c0c0c
  The border color is #1a1a1a
  The text color is #cccccc</p>
  
  <p>I found a similar question on SO but that creates a gradient -<br>
  <a href="https://stackoverflow.com/questions/7690416/android-border-for-button">Android - border for button</a></p>