else { tvGouMaiRenShu.setVisibility(View.VISIBLE); tvGouMaiRenShu .setText(Html .fromHtml("剩余<font size=‘9‘ color=‘#58bbed‘ ><big> " + goodsNum + "</big></font>" + " 张")); }
效果如下图:
时间: 2024-10-12 08:26:13
else { tvGouMaiRenShu.setVisibility(View.VISIBLE); tvGouMaiRenShu .setText(Html .fromHtml("剩余<font size=‘9‘ color=‘#58bbed‘ ><big> " + goodsNum + "</big></font>" + " 张")); }
效果如下图: