title: android.support.design.widget.TextInputLayout could not be instantiated
body: <p>I want to integrate <code>android.support.design.widget.TextInputLayout</code> In my android application. I have copied the jar file <strong>android-support-design.jar</strong> from the sdk to my applications lib folder. I have added below code in my xml file for the Email EditText,</p>
  
  <pre><code> &lt;!-- Email Label --&gt;
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="8dp"
              android:layout_marginBottom="8dp"&gt;
              &lt;EditText android:id="@+id/input_email"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:inputType="textEmailAddress"
                  android:hint="Email" /&gt;
          &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>While add this code in my layout.xml file I am getting an error like,</p>
  
  <pre><code>Exception raised during rendering: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup
  Exception details are logged in Window &gt; Show View &gt; Error Log
  The following classes could not be instantiated:
  - android.support.design.widget.TextInputLayout (Open Class, Show Error Log)
  See the Error Log (Window &gt; Show View) for more details.
  </code></pre>
  
  <p>How can i fix this issue...</p>