EditText SetError 4.0下 不显示文字解决
http://www.eoeandroid.com/forum.php?mod=viewthread&tid=49703
int ecolor = R.color.black; // whatever color you wantString estring = "请输入产品的名称";ForegroundColorSpan fgcspan = new ForegroundColorSpan(ecolor);SpannableStringBuilder ssbuilder = new SpannableStringBuilder(estring);ssbuilder.setSpan(fgcspan, 0, estring.length(), 0);et_search.requestFocus();et_search.setError(ssbuilder);