android开发常见编程错误总结
摘要:1.设置TextView的文本颜色123TextView tv;...tv.setTextColor(R.color.white);其实这样设置的颜色是 R.color.white的资源ID值所代表的颜色值,而不是资源color下的white颜色值:正确的做法如下:1tv.setTextColor(...
阅读全文
posted @ 2014-08-09 14:23
posted @ 2014-08-09 14:23
posted @ 2014-08-05 09:41
posted @ 2014-08-02 16:37
posted @ 2014-08-02 16:26