默认的edittext是一个四四方方的框,感觉很不爽,于是就想能不能没有 其实就一句话 edittext.setBackgroundDrawable(null); 设置edittext没有边框,类似于android:background="@null"