摘要: 试试这个:TextView c1= new TextView(activity);c1.setTextColor(getResources().getColor(R.color.solid_red));c1.setText("My Text");我同意颜色和资源应该有相同的样式,但是我也花费了一些时间才找到这个解决方法。 阅读全文
posted @ 2013-08-05 13:16 mao2012 阅读(197) 评论(0) 推荐(0)