title: Android resource linking failed due to Material TextView
body: <p>I want to use a material design in my android app. So I added this dependency in my project: <code>implementation 'com.android.support:design:27.1.1'</code>. I have the same <code>compileSdkVersion</code> and <code>targetSdkVersion</code> as <code>27</code> and also using the same version of <code>AppCompat</code> Library: <code>implementation 'com.android.support:appcompat-v7:27.1.1'</code>.
  I also have google's maven repository as:</p>
  
  <pre><code>allprojects {
      repositories {
          google()
          jcenter()
  
      }
  }
  </code></pre>
  
  <p>Also, my activity extends <code>AppCompatActivity</code> and I have parent theme <code>AppCompat</code> as <code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;</code> in <code>styles.xml</code>. Though I have all these conditions true, when I put the material <code>TextView</code> in <code>xml</code> as:</p>
  
  <pre><code>&lt;com.google.android.material.textfield.TextInputLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:hint="textfield_label"&gt;
  
      &lt;com.google.android.material.textfield.TextInputEditText
          android:layout_width="match_parent"
          android:layout_height="wrap_content"/&gt;
  &lt;/com.google.android.material.textfield.TextInputLayout&gt;
  </code></pre>
  
  <p>I get an unrecognized-type view in design preview. Also, the app stops when tried to launch.</p>