title: cannot find symbol class in support design library
body: <p>I want to use the design support library in one of my modules.
  The module is an Android library set as <code>com.android.library</code>.
  I included the following lines to the <code>buil.gradle</code> file:</p>
  
  <pre><code>compile 'com.android.support:appcompat-v7:23.1.1'
  compile 'com.android.support:design:23.1.1'
  </code></pre>
  
  <p>but i get an error when i try to use the resources from the design library.
  <strong>"cannot find symbol class R"</strong> referred to <code>android.support.design.R</code></p>