title: VectorDrawableCompat from file
body: <p>Has anyone successfully loaded a VectorDrawableCompat from a xml file (not in the apk - e.g. downloaded) I tried several things (e.g. via createFromStream) - but all of them failed - I can only load them when they are part of the apk so far.</p>
  
  <p>This is the error when I try to load via createFromXml():</p>
  
  <pre><code>java.lang.ClassCastException: android.util.XmlPullAttributes cannot be cast to android.content.res.XmlBlock$Parser
                              at android.content.res.Resources.obtainAttributes(Resources.java:3170)
                              at android.graphics.drawable.Drawable.obtainAttributes(Drawable.java:2923)
                              at android.graphics.drawable.VectorDrawable.inflate(VectorDrawable.java:566)
                              at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:2549)
                              at android.graphics.drawable.Drawable.createFromXml(Drawable.java:2320)
                              at org.ligi.survivalmanual.adapter.MarkdownRecyclerAdapter$setTextViewHTML$CustomImageGetter.getDrawable(MarkdownRecyclerAdapter.kt:114)
                              at android.text.HtmlToSpannedConverter.startImg(Html.java:641)
                              at android.text.HtmlToSpannedConverter.handleStartTag(Html.java:527)
                              at android.text.HtmlToSpannedConverter.startElement(Html.java:768)
                              at org.ccil.cowan.tagsoup.Parser.push(Parser.java:795)
                              at org.ccil.cowan.tagsoup.Parser.rectify(Parser.java:1062)
                              at org.ccil.cowan.tagsoup.Parser.stage(Parser.java:1027)
                              at org.ccil.cowan.tagsoup.HTMLScanner.scan(HTMLScanner.java:632)
                              at org.ccil.cowan.tagsoup.Parser.parse(Parser.java:450)
                              at android.text.HtmlToSpannedConverter.convert(Html.java:449)
                              at android.text.Html.fromHtml(Html.java:136)
                              at org.ligi.compat.HtmlCompat.fromHtml(HtmlCompat.java:22)
                              at org.ligi.survivalmanual.adapter.MarkdownRecyclerAdapter.setTextViewHTML(MarkdownRecyclerAdapter.kt:123)
                              at org.ligi.survivalmanual.adapter.MarkdownRecyclerAdapter.setTextViewHTML$default(MarkdownRecyclerAdapter.kt:86)
                              at org.ligi.survivalmanual.adapter.MarkdownRecyclerAdapter.onBindViewHolder(MarkdownRecyclerAdapter.kt:57)
                              at org.ligi.survivalmanual.adapter.MarkdownRecyclerAdapter.onBindViewHolder(MarkdownRecyclerAdapter.kt:35)
                              at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6356)
                              at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6389)
                              at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5335)
                              at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5598)
                              at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5440)
                              at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5436)
                              at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2224)
                              at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1551)
                              at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1511)
                              at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:595)
                              at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3583)
                              at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3312)
                              at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3844)
                              at android.view.View.layout(View.java:17938)
                              at android.view.ViewGroup.layout(ViewGroup.java:5812)
                              at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)
                              at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
                              at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1391)
                              at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:870)
                              at android.view.View.layout(View.java:17938)
                              at android.view.ViewGroup.layout(ViewGroup.java:5812)
                              at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1193)
                              at android.view.View.layout(View.java:17938)
                              at android.view.ViewGroup.layout(ViewGroup.java:5812)
                              at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
                              at android.widget.FrameLayout.onLayout(FrameLayout.java:281)
                              at android.view.View.layout(View.java:17938)
                              at android.view.ViewGroup.layout(ViewGroup.java:5812)
                              at android.widget.LinearLayout.s
  </code></pre>
  
  <p>and this just returns null:</p>
  
  <pre><code>val byteArrayInputStream = """&lt;vector android:height="24dp" android:viewportHeight="59.0"
          android:viewportWidth="81.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
          &lt;path android:fillColor="#000" android:pathData="M59,4.6C61.4,2 63.4,0 63.5,0c0.3,0.3 -2.4,3.5 -6.5,7.8 -4,4.4 -5.8,5 -11.6,5.4 -3.7,0 -4.8,0 -6.2,-0.6 -1,-0.4 -2,-0.6 -2.7,-0.4 -0.8,0 -1.2,0 -1.4,-0.6 -0.2,-0.7 -0.2,-0.7 -0.8,0 -1,1.5 -0.8,2 1.2,3.3 1.6,1 2,1 3.7,0.6 1,-0.3 2,-0.3 2.2,0l-1.5,0.5c-1,0.2 -2,0.7 -2.7,1.2 -0.5,0.5 -1,1 -1.3,1 -0.2,0 -0.4,0.2 -0.5,0.7 0,0.3 -0.5,0.7 -1,0.7 -0.2,0 -1,0.4 -1.8,1 -1.2,0.8 -1.3,1 -1,2 0.2,0.6 0.2,1 0,1 -0.3,0 -0.6,-0.4 -0.7,-1 -0.3,-0.8 -0.4,-0.7 -1.6,0.7 -0.6,0.8 -1,1.7 -1,2 0,1.7 2,2.2 3.8,1 0.4,-0.3 0.4,-0.6 0,-1.3 -0.3,-0.5 -0.3,-0.8 0,-0.8s0.6,0.3 0.7,0.6c0.4,1 1.2,0.8 2.4,-0.4 0.4,-0.6 1,-1 1,-1 0.2,0.3 -0.2,1 -1,1.7 -1.2,1.4 -1.2,1.4 -0.4,2.7 0.8,1.4 0.2,1.8 -0.7,0.4 -0.8,-0.8 -0.8,-0.7 -2.6,1.6 -2,2.6 -2,3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-1 0.8,-1.2 1.7,-3 2,-4.2zM72.1,48.9c0.5,-1 1,-2 1.2,-2 0.6,0 0.6,0.3 -0.7,3C72,51 71.2,52 71,52c-0.4,0 -0.4,0 0,-0.5 0,-0.3 0.7,-1.4 1,-2.6zM56.1,48.5l2,-1c0.4,0 -2.4,2 -3.2,2.2 -1.2,0.3 -1,0 1,-1.2zM59.8,49.2c0.3,-0.4 0.7,-0.7 0.8,-0.6 0,0 0,0.5 -0.4,1 0,0.6 -0.5,1 -0.6,0.8 0,0 0,-0.6 0.3,-1zM37.8,49.8c0.7,-0.3 1.5,-0.4 1.7,-0.2 1,0.7 5.8,1.8 8,1.8 1.4,0 2.3,0.2 2.3,0.5 0,0.7 -5.6,0 -8.5,-1 -1.3,-0.3 -2.6,-0.5 -3,-0.3h-1c-0.6,-0.2 -0.5,-0.4 0.5,-0.8zM39.5,51.1c-0.8,-0.7 -0.8,-0.7 0.2,-0.2 1.4,0.6 1.6,0.8 1,0.8 -0.2,0 -0.7,-0.3 -1.2,-0.7zM57.9,51.1c0.3,-0.3 1,-0.4 1,0s-3,2 -4,2c-0.8,0 -0.6,-0.3 0.8,-0.8l2.2,-1zM64.9,53.1c1.2,-1 2,-2 2.2,-2 0.4,0.2 -1.4,2.5 -2.5,3.2 -2,1.4 -1.8,1 0.4,-1.2zM46.7,54.1c-3.2,-1.3 -2.4,-1.2 2.8,0 3.7,1 4,1 2,1l-4.8,-1zM56.1,55.1l2.5,-0.2c0.2,0 0.2,0 0,0.3 0,0.3 -1.2,0.5 -2.4,0.5L54,55.7L56,55z"/&gt;
      &lt;/vector&gt;""".byteInputStream()
  
  val drawable = VectorDrawableCompat.createFromStream(byteArrayInputStream, "image")
  </code></pre>