It was a mistake to write code today carelessly. Careful examination only then found, records only, prevents the classmate to make the same mistake OH
The code is as follows:
Remote.settextcolor (Summaryid, R.color.news_have_read);
As above, the code will not display the color properly anyway. Instead, replace the following code:
Remote.settextcolor (SUMMARYID,0XFDFDFDFD);
Always can't write color value much trouble. It's still written in the Color.xml.
Finally found that it should be the most right to write.
Remote.settextcolor (Summaryid, Mcontext.getresources (). GetColor (R.color.news_is_have_read));
In Remote.settextcolor (Summaryid, r.color.news_have_read); In this code, the r.color.news_have_ is displayed. The int value generated by the read through Eclipse is not a true color value and must be passed mcontext.getresources (). GetColorThe true 16 binary color value #255#255#255#255 value is available.