Friday, July 2, 2010

Android Setting TextColor

You can't do something like this:

inststatus.setTextColor(R.color.white);

instead do:

inststatus.setTextColor(getResources().getColor(R.color.white);

No comments: