title: Android: Tint using DrawableCompat
body: <p>I'm trying to tint an image prior to Android API level 21. I've successfully tinted items using:</p>
  
  <pre><code>&lt;android:tint="@color/red"/&gt;
  </code></pre>
  
  <p>However, I can't seem to figure out how to do this through code on an ImageView:</p>
  
  <pre><code>Drawable iconDrawable = this.mContext.getResources().getDrawable(R.drawable.somedrawable);
  DrawableCompat.setTint(iconDrawable, this.mContext.getResources().getColor(R.color.red));
  imageView.setImageDrawable(iconDrawable);
  </code></pre>
  
  <p>I've tried setting the TintMode but this seems to make no different. Am I using the v4 compatibility class DrawableCompat incorrectly?</p>