代码演示
title = (TextView) findViewById(R.id.title);
title.setText(Html.fromHtml("<font><big><b><tt>购车后成为专属VIP会员</tt></b></big>可享受全程有专员1对1为车主提供完善的服务</font>"));
效果图

代码演示
title = (TextView) findViewById(R.id.title);
title.setText(Html.fromHtml("<font><big><b><tt>购车后成为专属VIP会员</tt></b></big>可享受全程有专员1对1为车主提供完善的服务</font>"));
效果图
本文标题:Android--使用HTML标签,实现在TextView中对部
本文链接:https://www.haomeiwen.com/subject/ddwhictx.html
网友评论