android中为textview动态设置字体为粗体

 
TextView textView = (TextView)findViewById(R.id.textView);
TextPaint tp = textView .getPaint();
tp.setFakeBoldText(true);
成功 通过!
posted @ 2013-05-07 15:07  mao2012  阅读(1221)  评论(0)    收藏  举报