You can put the color in xml file or use the Class Color ,like: Color.blue
2008/11/20 Lawrence Samantha <[EMAIL PROTECTED]> > if you use it on xml, put # in front of it.. for example: > > > android:background > ="#ffffffff" > > Thanks. > 2008/11/19 Mark Murphy <[EMAIL PROTECTED]> > > >> [EMAIL PROTECTED] wrote: >> > Is it possible to define one's own colours? >> >> Sure. Use an eight-digit hex value in the form of AARRGGBB (AA = >> two-hex-digit alpha channel). So, for example, 0xFF00FF00 is solid >> green, if my cold-fogged brain isn't screwing this up... >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com >> >> Android Training on the Ranch! -- Mar 16-20, 2009 >> http://www.bignerdranch.com/schedule.shtml >> >> >> -- Welcome to my site about GPhone: http://51gphone.cn I am a GFans!!欢迎你来到我的GPhone网站!!http://51gphone.cn --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

