Create an xml say edit_text_background.xml in res/drawable folder..
and add the following cod to it...
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:radius="3dp" />
<solid android:color="@color/White"/>
<stroke android:color="@color/black" android:width="3dp"/>
<padding android:left="5dp" android:top="5dp" android:right="5dp" android:bottom="5dp"/>
</shape>
stroke : to apply border.
solid : to apply background color
corners : to apply radius at corners(if you want)
set this xml as background to edittext
android:background="@drawable/edit_text_background"
Hope it works..!