android中为textview动态设置字体为粗体
TextView textView = (TextView)findViewById(R.id.textView);TextPaint tp = textView .getPaint();tp.setFakeBoldText(true);成功 通过!
TextView textView = (TextView)findViewById(R.id.textView);TextPaint tp = textView .getPaint();tp.setFakeBoldText(true);