Hello, I'm currently trying to set the default background to a edtitext (I modified its background with shape before).
So first I tried like that : firstName.SetBackgroundResource(Android.Resource.Drawable.EditBoxBackgroundNormal); But that give me an white edittext, my edittext by default are black (like that http://tiny.cc/ds20uw) Then I tried with this code : firstName.SetBackgroundResource(Android.Resource.Attribute.EditTextBackground); That give me unhandle exception : "Requesting resource 0x1010352 failed because it is complex Unhandled Exception: Android.Content.Res.Resources+NotFoundException: Resource ID #0x1010352" How can I get the default background of edittext ? It's possible to save the default background of an edittext (like in android-java : activity.findViewById(id).getBackground()); Thanks you for your help ! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-with-android-resource-attribute-tp5713109.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
