title: Tint does not work <21 version in DataBinding
body: <p>I am using <a href="https://developer.android.com/topic/libraries/data-binding/" rel="nofollow noreferrer">DataBinding</a> to <code>tint</code> vector drawable of <code>ImageView</code> on basic of an boolean flag. This code works well for &gt;=21 version. But fails in &lt;21 version.</p>
  <pre><code>&lt;androidx.appcompat.widget.AppCompatImageView
      android:tint=&quot;@{model.nextEnabled ? @color/primary : @color/silver}&quot;
      app:srcCompat=&quot;@drawable/ic_right_blue_24dp&quot;
      /&gt;
  </code></pre>
  <p>Here <code>ic_right_blue_24dp</code> is a vector drawable.</p>
  <p>After checking binding class, I could see that code for &lt;21 version is not getting generated.</p>
  <blockquote>
  <pre><code>       if(getBuildSdkInt() &gt;= 21) {
  
              this.mboundView1.setImageTintList(androidx.databinding.adapters.Converters.convertColorToColorStateList(modelBackEnabledMboundView1AndroidColorPrimaryMboundView1AndroidColorSilver));
          }
  </code></pre>
  </blockquote>
  <p><strong>I have tried all things I could think, and could find.</strong></p>
  <ul>
  <li>AppCompatImageView</li>
  <li>ImageView</li>
  <li><code>app:srcCompat</code></li>
  <li><code>android:src</code></li>
  <li><code>app:tint</code></li>
  <li><code>vectorDrawables.useSupportLibrary = true</code></li>
  <li><code>AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);</code></li>
  </ul>
  <p><strong>Here I must tell you that all things work using regular <code>tint</code> without <code>binding</code>.</strong></p>