Hi,

I have an xml file named "my_layerlist.xml" in the drawable
and drawable-hdpi folder, which contains a layler-list. Then I want to get
the instance of the layler list by:

 LayerDrawable layerDrawable =
(LayerDrawable)Resources.GetDrawable(Resource.Drawable.my_layerlist);

I got this error:
Android.Content.Res.Resources+NotFoundException: File
res/drawable-hdpi/my_layerlist.xml from drawable resource ID #0x7f02001e

The resource exists in the Resource.Designer.cs:
public partial class Drawable
{
// aapt resource value: 0x7f02001e
public const int my_layerlist = 2130837534;
                        ... ...
                }


Does anyone know what the problem is?

Thanks a lot
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to