TextView添加下划线

SpannableString contentUnderline = new SpannableString("http://www.wdmb168.com/");
contentUnderline.setSpan(new UnderlineSpan(), 0, contentUnderline.length(), 0);
 
TextView mPage = (TextView) findViewById(R.id.page);
mPage.setText(contentUnderline);

你可能感兴趣的:(java,android)