[Mono-bugs] [Bug 643017] API Enhancement: TextView.SetTextColor(...) int -> enum.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 1 11:15:19 EDT 2010



Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |jpobst at novell.com
         Resolution|                            |FIXED
         AssignedTo|mkestner at novell.com         |jpobst at novell.com

--- Comment #2 from Jonathan Pobst <jpobst at novell.com> 2010-10-01 15:15:19 UTC ---
In Android, colors are represented as integers.  I have tried to hide that fact
some, but we couldn't fully do it.  Rather than have this anemic list of colors
to choose from, I removed the Android.Graphics.Colors enum so people won't find

The preferred way of doing this is:

View.SetTextColor (Color.Blue)

I made the Color structure look like the System.Drawing.Color structure, so it
should have all the colors .Net developers are used to.

Thanks for pointing it out!

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list