[Android] TextView設置粗體

[Android] TextView設置粗體

 

1: TextView tv = (TextView)findViewById(R.id.TextView01);
2: TextPaint tp = tv.getPaint();
3: tp.setFakeBoldText(true);