code: @SuppressWarnings({"WeakerAccess", "unused"})
     public static SVG  getFromAsset(AssetManager assetManager, String filename) throws SVGParseException, IOException
     {
        SVGParser    parser = new SVGParser();
        InputStream  is = assetManager.open(filename);
        try {
           return parser.parse(is, enableInternalEntities);
        } finally {
           try {
             is.close();
           } catch (IOException e) {
             // Do nothing
           }
        }
     }
docs: Read and parse an SVG from the assets folder.
  
  @param assetManager the AssetManager instance to use when reading the file.
  @param filename the filename of the SVG document within assets.
  @return an SVG instance on which you can call one of the render methods.
  @throws SVGParseException if there is an error parsing the document.
  @throws IOException if there is some IO error while reading the file.