2018年4月19日

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

摘要: //not work textView.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD)); //work! static public void setTextBold(TextView textView, boolean isBold) { try { if(textView ... 阅读全文

posted @ 2018-04-19 11:43 albert1017 阅读(3661) 评论(0) 推荐(0)

Android的TextView设置padding无效

摘要: I finally found the problem I have to set the background first before setting the padding. Setting the padding then setting the background doesn't wor 阅读全文

posted @ 2018-04-19 11:21 albert1017 阅读(4783) 评论(0) 推荐(0)

导航