title: How to override styles of a library which has its own Activity
body: <p>I have a library which has its own Activities with colorPrimary and colorPrimaryDark attributes. In the application which is using this library, there are different values for these color attributes.</p>
  
  <p>Is there a way to make the library use the style provided by the caller application?</p>
  
  <p>So that in the end, if the app has a green toolbar, the activities in the library would have a green toolbar, not the one defined in library theme.</p>
  
  <p>This is the library's theme:</p>
  
  <pre><code>&lt;style name="LibraryTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/red&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/dark_red&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>And this is the sample app's main theme:</p>
  
  <pre><code>&lt;style name="SampleAppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/green&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/dark_green&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/accent_color&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>