The params in setTextColor is not the resource id in xml file, but the real
ARGB value combination, so here you hava two choice.
1. setTextColor(context.getResources.getColor(int resId));
2. setTextColor(int value), for example white 0x
2010/5/6 mike hasitharand...@gmail.com
hi guys,
i want to set the text color. color will differ according to the
scenario because of that can't set the text color in the xml file.
in android only few colors are available. if i want to set the colors
like Pink,Orange it does not support.
even if i set the int color code of those values it's not rendering.
so anyone can give me a way to achieve this??
i want to set the pro grammatically.
regards,
Ranidka
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Regards
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en