一、PS中常用的技巧,用陰影、描邊代替加粗,這裡借鑒,非原創 android:shadowColor="#000000"
android:shadowDx="0.2" android:shadowDy="0.0" android:shadowRadius="0.2" 轉自: http://www.eoeandroid.com/thread-75171-1-1.html
二、在xml檔案中使用android:textStyle=”bold” 三、但是不能将中文設定成粗體,将中文設定成粗體的方法是:
TextView tv = (TextView)findViewById(R.id.TextView01);
TextPaint tp = tv.getPaint();
tp.setFakeBoldText(true);