Guess what are the differences between TextView.setText(int) and
TextView.setTextColor(int)

Answer:
the first int should be a resource id, but the second one should NOT
be a resource id.

So if you are calling setTextColor(R.color.red) and you see grey, you
are not necessarily colorblind. Use setTextColor(0xffff0000) instead.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to