You need to specify the value, for example #F18, where F is the value for
red, 1 is the value for green and 8 is the value for blue.  It's the same as
html color codes so you can look those up if you like.

On Tue, Jul 8, 2008 at 11:36 AM, zoumengdie <[EMAIL PROTECTED]> wrote:

>
> Hi. I want to know how to set the background color of TextView and the
> color of the text on TextView. Is it about "android:shadowColor" and
> "android:textColor"? The documents say the value of  them "Must be a
> color value, in the form of '#rgb', '#argb', '#rrggbb', or
> '#aarrggbb'" (http://code.google.com/android/reference/android/widget/
> TextView.html#attr_android:shadowColor<http://code.google.com/android/reference/android/widget/TextView.html#attr_android:shadowColor>).
> I wrote
> android:shadowColor="#rgb", but it did not work. Why? I know these are
> low-level questions but I just cannot figure them out. So would anyone
> kindly tell me how to do it?
> Thank you so much!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to