The following is the original code line
Item.Color = 0xff000000 +256*256*mNumGen.nextInt(256) +
256*mNumGen.nextInt(256) + mNumGen.nextInt(256);

for this line the output will be as the attached file image1.png.

Now i am trying to change the colors to be as green, blue and red. I am not
able change it.



On Mon, Apr 18, 2011 at 11:34 PM, TreKing <[email protected]> wrote:

> On Mon, Apr 18, 2011 at 12:57 PM, Siva Kannabiran 
> <[email protected]>wrote:
>
>> The colors which i need are green blue and red
>
>
> Wait ... are you expecting to set *one* color attribute to 3 different
> colors at the same time?
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en
>



-- 
Siva Shankar K

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

<<attachment: image1.png>>

Reply via email to