On Aug 10, 2011, at 6:56 PM, chobo2 wrote:
> I am wondering if you know the name of something how do you find the id 
> number?
> 
> TextView lblToday = FindViewById<TextView>(Resource.Id.lblToday);
> 
> above is how you normally do it. But I am wondering how could I do something 
> like
> 
> TextView lblToday = FindViewById<TextView>("lblToday");
> 
> I think this is what I need
> 
> http://stackoverflow.com/questions/3042961/how-can-i-get-the-resource-id-of-an-image-if-i-know-its-name
> 
> but I don't see getResources();

You want the Android.Content.Context.Resources property.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to