I am adding some views to a linear layout in code, I have set the colour of
the text view as follows:
TextView tvImagesTitle = new TextView(this);
tvImagesTitle.setTextColor(R.color.blue);
tvImagesTitle.setText("Some text");
m_llImages.addView( tvImagesTitle );
However the text comes out grey, the value of the blue resource is:
<color name="blue">#ff0000ff</color>
Any ideas?
--
Regards,
Sy
--
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