xml加粗
1 | android:textStyle="bold" |
代码加粗
推荐方式
1 | textView.typeface = Typeface.defaultFromStyle(Typeface.BOLD) |
非推荐方式
1 | textView.paint.isFakeBoldText = true |
select * from learn
1 | android:textStyle="bold" |
1 | textView.typeface = Typeface.defaultFromStyle(Typeface.BOLD) |
1 | textView.paint.isFakeBoldText = true |
微信支付
支付宝