else { tvGouMaiRenShu.setVisibility(View.VISIBLE); tvGouMaiRenShu .setText(Html .fromHtml("剩余<font size='9' color='#58bbed' ><big> " + goodsNum + "</big></font>" + " 张")); }
效果如下图:
else { tvGouMaiRenShu.setVisibility(View.VISIBLE); tvGouMaiRenShu .setText(Html .fromHtml("剩余<font size='9' color='#58bbed' ><big> " + goodsNum + "</big></font>" + " 张")); }
效果如下图:
转载于:https://www.cnblogs.com/zhanganju/p/3948904.html