On Jul 10, 2012, at 9:02 AM, tsukrov wrote: > How can I use my class com.pkg.CoolGradientDrawable in the resources?
I suspect that you don't. The documentation for <shape/> [0] doesn't provide any way of specifying a runtime type, so all attributes and nested elements control creation of a ShapeDrawable instance and it can't be used for subclasses. <shape/> also isn't a generic container type (as layouts are), so specifying a fully-qualified class name won't work (which appears to be what you're trying to do). - Jon [0] http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid