You can use the following XML script instead of Assiging colors as backgroud. First of all let me tell you that, the Button view by default is a rectangle so when you just add an button view in your layout, it is having a default background style assigned and because of that you can see it with rounded corners. when you assign the backgroud, the default stype/theme will be overridden and you will get the button in the original form so here you have to apply the theme/stype as per your requirement.
If you want it for few buttons then you can use the following XML scrupt. YOu just create an .xml file in your drawable under resources in android project. then assign that .XML file as background of your button view. And see what happens...
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff"/>
<corners android:radius="6dp"/>
<padding android:left="3dp" android:top="2dp"
android:right="3dp" android:bottom="2dp" />
</shape>