title: Refactoring resources from activities issues
body: <p>I wanted to refactor the source code of my project into different modules. Two of those modules are <strong>app</strong> and <strong>resources</strong>. I have the following layout file under the resource module:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/drawerLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".activities.DrawerActivity"
      tools:showIn="@layout/activity_drawer" &gt;
  
      &lt;FrameLayout
          android:id="@+id/activity_container"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>Now, my issue is with the <strong>tools:context</strong> attribute. It does not longer find the DrawerActivity class. What is the new path to this class? I've tried:</p>
  
  <ul>
  <li>app.src.main.java.com.company.project.activities.DrawerActivity</li>
  <li>com.company.project.activities.DrawerActivity</li>
  <li>.activities.DrawerActivity</li>
  </ul>
  
  <p>The AndroidManifest file under the resources module is as follows (yes it is this small):</p>
  
  <pre><code>&lt;manifest package="com.company.resources" /&gt;
  </code></pre>
  
  <p>Is it even possible to split up the resources and the activities into separate modules? I'm asking since the attribute <strong>tools:showIn</strong> does not seem to render anymore.</p>
  
  <p>Update 1: Added screenshot as requested...
  <a href="https://i.stack.imgur.com/bLVSK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bLVSK.jpg" alt="enter image description here"></a></p>
  
  <p>UPDATE 1:</p>
  
  <p>If I let the package to be the same for both AndroidManifest files (app and resources modules), then the <strong>.activities.</strong> part of the path will become green (stated under the layout file). The DrawerActivity name will however still remain red. How come?</p>