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
Now use MaterialButton for rounded button many more thing you can do with this. please follow link
and add app:cornerRadius="8dp"for rounded corner
app:cornerRadius="8dp"
and don't forget to add google material libs in build.gradle
implementation "com.google.android.material:material:1.1.0"