title: Can't use vector drawable as a a bitmap drawable in android
body: <p>I am packing a vector drawable in a bitmap drawable and trying to use it as background for a view.This complies successfully but crashes during run time with Resource Not Found exception.  </p>
  
  <p>Here is the resource xml files:  </p>
  
  <pre><code>&lt;bitmap xmlns:android="http://schemas.android.com/apk/res/android"
      android:src="@drawable/ic_fruit_salad"
      android:tileMode="disabled"
      android:gravity="center"&gt;
  &lt;/bitmap&gt;
  </code></pre>
  
  <p>Where @drawable/ic_fruit_salad is a vector resource.  </p>
  
  <p>The xml for layout:  </p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
       android:id="@+id/rv_listofitems"
       android:background="@drawable/background_fruit_salad"
       android:layout_width="match_parent"
       android:layout_height="match_parent"&gt;
  &lt;/android.support.v7.widget.RecyclerView&gt;
  </code></pre>
  
  <p>But if vector resource is used directly it works fine.The reason I am packing in a bitmap is not to stretch the bitmap when used as background for the view.I know there might be some other methods to achieve this , but I am wondering why this doesn't work.</p>