I want the text to be black. It is coming out grey. On Thu, Apr 15, 2010 at 10:23 AM, Justin Anderson <[email protected]>wrote:
> Well, what color are you wanting to make? > > http://developer.android.com/reference/android/graphics/Color.html says > this: > > *The Color class defines methods for creating and converting color ints. > Colors are represented as packed ints, made up of 4 bytes: alpha, red, > green, blue. The values are unpremultiplied, meaning any transparency is > stored solely in the alpha component, and not in the color components. The > components are stored as follows (alpha << 24) | (red << 16) | (green << 8) > | blue. Each component ranges between 0..255 with 0 meaning no contribution > for that component, and 255 meaning 100% contribution. Thus opaque-black > would be 0xFF000000 (100% opaque but no contributes from red, gree, blue, > and opaque-white would be 0xFFFFFFFF* > > ---------------------------------------------------------------------- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------------------------------------------------------------------- > > > On Wed, Apr 14, 2010 at 9:28 PM, Kevin Brooks <[email protected]> wrote: > >> I am trying to make my text color. I set the textColor to "000000" in the >> xml but I get a grey. Any suggestions? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Beginners" group. >> >> NEW! Try asking and tagging your question on Stack Overflow at >> http://stackoverflow.com/questions/tagged/android >> >> To unsubscribe from this group, send email to >> [email protected]<android-beginners%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe, reply using "remove me" as the subject. >> > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Kevin Proverbs 21:6 -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

