Here is my code
In xml file I have defined
And in .java, I am specifying,
title = (TextView) convertView.findViewById(R.id.title);
title.setText(bookDetails.title);
title.setTextColor(0x00ff);
And, the code is setting the text color to some kind of purple. It is
working.
-Hegde
On Feb 16, 2
> > The following do not work:
>
> > myDate.setTextColor(0x00FF);
This app has examples of dynamically changing text color.
http://www.androidengineer.com/2010/08/easy-method-for-formatting-android.html
--
You received this message because you are subscribed to the Google
Groups "Android Dev
something else must be wrong ... textView.setTextColor(0x00FF)
works all day long for me
On Feb 16, 1:12 am, Oldarney wrote:
> The following do not work:
>
> myDate.setTextColor(0x00FF);
> myDate.setTextColor(Color.argb(250,250,0,250));
>
> The reason being is that it wants a reference to
3 matches
Mail list logo