I'm following the tips from questions like this to create a button style like suggested on Material Design.
However, I need to change the corner radius and haven't been able to do so by inheriting Widget.AppCompat.Button.Colored
style and setting the radius parameter.
How can I have the same style but with rounded corners?
Now use MaterialButton for rounded button many more thing you can do with this. please follow link
and add
app:cornerRadius="8dp"
for rounded cornerand don't forget to add google material libs in build.gradle