code: public static Drawable createFromXml(Resources r, XmlPullParser parser) throws XmlPullParserException, IOException {
          return createFromXml(r, parser, null);
      }
docs: Create a drawable from an XML document. For more information on how to create resources in
  XML, see
  <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.