mTv4=(TextView)findViewById(R.id.tv_4);
mTv4.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG);//中划线
mTv4.getPaint().setAntAlias(true);//取出锯齿
mTv5=(TextView)findViewById(R.id.tv_5);//找到空间
mTv5.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG);//下划线
mTv6=(TextView)findViewById(R.id.tv_6);
mTv6.setText(Html.fromHtml(“<u>直接写文字</u>”);
<TextView
/>
跑马灯