title: Rendering problems using new TextInputLayout for EditText
body: <p>I'm trying to set the new support.desing library that provides some lollipop visual effects to old android versions.</p>
  
  <p>In this case, I'm triying to add the floating labels for the edittext, which is done with the widget.TextInputLayout:</p>
  
  <p><img src="https://i.stack.imgur.com/gKveD.png" alt="enter image description here"></p>
  
  <p>To do this I have followed google's provided few indications:</p>
  
  <ul>
  <li><p>I have downloaded the last support library (22.2.0) and included on graddle file.</p>
  
  <p>compile 'com.android.support:design:22.2.0'</p></li>
  <li><p>I have added the TextInputLayout in my xml this way:</p></li>
  </ul>
  
  <p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginTop="30dp"
      android:layout_marginLeft="20dp"&gt;
  
      &lt;EditText
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:ems="12"
          android:hint="hint"
          android:inputType="number"
          android:id="@+id/edt" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>But Android Studio is showing this in the layout preview:</p>
  
  <pre><code>Rendering failed with a known bug. Please try a rebuild.  
  The following classes could not be instantiated:
  - android.support.design.widget.TextInputLayout (Open Class, Show Exception, Clear Cache)
  
  Exception Details 
  java.lang.NoSuchFieldError: TextAppearance
  </code></pre>
  
  <p>This is the style I'm using:</p>
  
  <pre><code>&lt;style name="MaterialTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/md_red_500&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/darkPrimaryColor&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/md_green_500&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/md_grey_900&lt;/item&gt;
      &lt;item name="android:textColorSecondary"&gt;@color/md_grey_600&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>EDIT- </p>
  
  <p><img src="https://i.stack.imgur.com/62giI.png" alt="enter image description here"></p>