title: android.support.v7.widget.GridLayout cannot get it to work
body: <p>I have an android project which utilizes GridLayout in most of its menus and screens. The problem however is that GridLayout is supported from API 14 and onwards. </p>
  
  <p>Since I want to make the application available to older version of android as well, I tried to use Android's own Support Library <a href="http://developer.android.com/reference/android/support/v7/widget/GridLayout.html" rel="noreferrer">GridLayout</a> which adds support up to API 7. 
  This was exactly what I was looking for, however I cannot for the life of me get it to work. I have tried all of these explanations and ideas:</p>
  
  <ol>
  <li><a href="http://developer.android.com/tools/support-library/setup.html" rel="noreferrer">Android's official instructions</a></li>
  <li><a href="https://stackoverflow.com/a/18125947/475680">Solution 1</a></li>
  <li><a href="https://stackoverflow.com/a/12477911/475680">Solution 2</a></li>
  <li><a href="https://stackoverflow.com/a/17160246/475680">Solution 3</a></li>
  <li><a href="https://stackoverflow.com/a/12644746/475680">Solution 4</a></li>
  <li><a href="https://stackoverflow.com/a/8884893/475680">Solution 5</a></li>
  </ol>
  
  <p>and more...</p>
  
  <p>No matter what I do, how I do it or what IDE I use (whether Eclipse ADT or Android Studio), it always gives me an error in the Layout XML along the lines of:</p>
  
  <pre><code>The following classes could be instantiated:  - android.support.v7.widget.GridLayout
  
  With either one of these exceptions showing in the error log:
  
  1. android.content.res.Resources$NotFoundException: Could not resolve value 0x7F080000
  2. java.lang.classnotfoundexception: android.support.v7.gridlayout.R$dimen
  </code></pre>
  
  <p>Edit: For reference this is what I'm using to create the support gridlayout (taken directly from the android sample programs):</p>
  
  <pre><code>&lt;android.support.v7.widget.GridLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@drawable/blue"
      android:padding="10dip"
      app:columnCount="4"
      &gt;
      &lt;TextView
          android:text="@string/string_test"
      /&gt;
      &lt;EditText
          app:layout_gravity="fill_horizontal"
          app:layout_column="0"
          app:layout_columnSpan="4"
      /&gt;
      &lt;Button
          android:text="@string/button_test"
          app:layout_column="2"
      /&gt;
  &lt;/android.support.v7.widget.GridLayout&gt;
  </code></pre>
  
  <p>What could I possibly be doing wrong that none of the above solutions work? Is there something I'm missing, maybe there's a problem with my original code? </p>
  
  <p>Any help is appreciated</p>