Custom button with top and bottom margin

yrBlissBaezaj

New Member
I need to create a layout like below.
KgYPh.jpg
And I worked out how to create a this layout:
8nIFa.jpg
How can I add top and bottom margins? And button background color? I made the button transparent by using:\[code\]android:background="@android:color/transparent"\[/code\]Now how can I make button background color to light blue.If I use custom button layout, how can I do that? I checked lots of Stackoverflow questions, but all of them concern gradient, color change on click, etc.Thank you!
 
Back
Top