Rounded corners on material button
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? You need to inherit that style. Add into your styles.xml: <style name="AppTheme.RoundedCornerMaterialButton" parent="Widget.AppCompat.Button.Colored"> <item name="android:background">@drawable/rounded_shape</item> </style> Add file drawable/rounded_shape.xml: <shape xmlns