title: set vector drawable to side drawable in textview in android
body: <p>I have a vector drawable wich I want to set to textview sides Drawable. after some googling some pepole suggesting to put my vector drawable in layerList then set layer list drawable to textview drawables and now my code is:     </p>
  
  <p>layerList:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
             &lt;item android:drawable="@drawable/ic_sort_up"/&gt;    //vector drawable
  &lt;/layer-list&gt; 
  </code></pre>
  
  <p>get drawable in java:       </p>
  
  <pre><code> Drawable ArrowDrawable = AppCompatResources.getDrawable(this, R.drawable.selected_arrow);     
  </code></pre>
  
  <p>when I run my code on android 6 devices it works fine but when I run it On android 4.4 I got this error message:       </p>
  
  <pre><code> android.content.res.Resources$NotFoundException: File res/drawable/selected_arrow.xml from drawable resource ID #0x7f0200c1
  </code></pre>
  
  <p>can anybody help about this problem?<br>
  <strong>UPDATE</strong><br>
  my problem is not to use vector drawable's in lower than android 5 because I use them right now with appcompatImageviews and works fine my problem is getting vector drawable and set them to textview drawable's in java so <a href="https://stackoverflow.com/questions/26548354/vectordrawable-is-it-available-somehow-for-pre-lollipop-versions-of-android">this</a> link do not help me.</p>