title: Reference resources from other module in Android Studio
body: <p>I have a main app module as well as a few library modules.</p>
  
  <p>How can my Library module reference resources from the Main App module. </p>
  
  <p>For instance:
  My base app has a colors.xml which has a color item called "AppPrimary" which is blue.</p>
  
  <p>In my library I want a view in an xml layout to reference @color/AppPrimary color, but that doesn't work.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Edit: I should specify this isn't specifically appCompat resources. Just generic strings/colors/styles/in my main module. How can I reference them in the same project in my library module colors.xml/strings.xml?</p>