title: Android support library v4:22+ crashing pre Lollipop on attr/ in drawables
body: <p>I've experienced a strange effect dealing with shape drawables with support lib attributes. I have following code, which crashes every time during inflation.</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="oval"&gt;
  &lt;size android:width="26dp" android:height="26dp"/&gt;
  &lt;solid android:color="?attr/colorPrimary"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>Note I have used ?attr/colorPrimary as color. If I use</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="oval"&gt;
  &lt;size android:width="26dp" android:height="26dp"/&gt;
  &lt;solid android:color="@color/primary"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>It is working fine without any crashes. Issue is only in devices running lower version of Android than 5.0. I am using following support lib</p>
  
  <pre><code>compile 'com.android.support:support-v4:22.2.1'
  </code></pre>
  
  <p>Anyone found reason why this is happening? Is this a bug in support library?</p>