tv = (TextView) this .findViewById(R.id. text_view );
中间加横线
tv.getPaint().setFlags(Paint. STRIKE_THRU_TEXT_FLAG );
底部加横线:
tv .getPaint().setFlags(Paint. UNDERLINE_TEXT_FLAG );

附:
TextVIew 的Html解析方法:
String htmlLinkText= " http://www.baidu.com/><u>我的CSDN博客 ";
tv.setText(Html.fromHtml(htmlLinkText));

本文固定链接: http://www.js-code.com/android/android_55377.html