
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.
The button background color is #0c0c0c
The border color is #1a1a1a
The text color is #cccccc
I found a similar question on SO but that creates a gradient –
Android – border for button
The Android Developer’s Guide has a detailed guide on this: Shape Drawbables.
You could also simply remove the
gradientelement from the link you provided: