I am busy creating a less complicated version of NinePatchDrawable
that tiles the inner panels instead of stretching them.
I can implement the actual lo
Unfortunately it is not possible to use custom drawables in XML files (for API 23 and below) due to potential security issues. See here for a Google Groups thread about this very topic with a response from Romain Guy, one of the Android developers.
You can still use them in your Java code though.
Update:
As LeoFarage points out in the comments, starting in API 24 you can now use custom drawables in XML files but only within your application package.