Android的TextView设置加粗对汉字无效

//not work
textView.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
    //work!
    static public void setTextBold(TextView textView, boolean isBold) {
        try {
            if(textView != null) {
                Paint paint = textView.getPaint();
                if(paint != null) {
                    paint.setFakeBoldText(isBold);
                }
            }
        } catch (Throwable var3) {
        }

    }
原文地址:https://www.cnblogs.com/albert1017/p/8881394.html