Inflating Drawables from XML in Android
Is there a way to extend a drawable (just like how shapes w开发者_高级运维ork, create your own tag) and allow it to be inflated from XML? Or is drawable only for the allowed 9 types?
You cannot use your own drawable classes from XML.
精彩评论