I want to make a custom button with shape, how to do this?
This is the sample button which is of oval shape.. The gradient
says the start n end color along with the angle. corners for the oval shape..Try this.. Mention the name of this xml in button background android:background="@drawable/sample"
.Save the xml in drawable.
Also check this link for custom button.