On Aug 24, 2011, at 5:11 PM, chobo2 wrote:
> Well What happens if I want to use a color from a resource file? Do I still
> use the Resource and get's it's id?

Yes, and you'd use Resources.GetColor(int)[0] to get the color:

        bgShape.Paint.Color = Resources.GetColor (Resource.Color.test);

 - Jon

[0] 
http://docs.mono-android.net/index.aspx?link=M%3aAndroid.Content.Res.Resources.GetColor(System.Int32)

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to