In XML you can only use the drawables that are defined for the platform XML format. All others need to be instantiated in your code.
On Sun, Sep 13, 2009 at 12:44 PM, Strauch <[email protected]>wrote: > > Hi there, > > how can I regiter a custom codewise created dawable for use in the xml > files fir the @drawabe/....... notation? > > Is there a way to get the drawable into the List which is also display > in the R.drawable. ....... ??? > > The other part ist if I for example create a GradientDrawable which is > inherited, how can I use it in xml files like the <gradient> tag? > Where must I register that? CAN I register that? > > Can anyone please help me? > > > Bye, Johannes > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

