title: How can I access to the resources of a library for Android?
body: <p>I am trying to access a library that contains some strings and drawables. In my main project I add the library as a module. The problem is that when I want to reference in a layout to a string or a color resource, I can't.
  According to the guide of the API syntax, I use <em>@[package.of.the.library]:type/resource_name</em>, but this does not work.</p>
  
  <p>I add an example of the layout that I use for testing:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:mylibrary="http://schemas.android.com/apk/com.mylibrary.resources"
  android:orientation="horizontal" android:layout_width="match_parent"
  android:layout_height="wrap_content"&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:text="@mylibrary:string/testing_text" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I have tried using <code>xmlns:mylibrary="http://schemas.android.com/apk/res-auto"</code> instead of <code>xmlns:mylibrary="http://schemas.android.com/apk/com.mylibrary.resources"</code> but it doesn't work.</p>