在TextView文字下面加下划线:1
2
3
4
5private void setBottomLine(TextView textView){
if (textView == null) return;
textView.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG); //下划线
textView.getPaint().setAntiAlias(true);//抗锯齿
}
UI控件TextView
基础总结篇之一:Activity生命周期
>