只需在EditText属性中增加“
android:background="@android:drawable/edit_text"
”一条即可。
转自:http://blog.sina.com.cn/s/blog_d71c1a070101ghs7.html