title: Override AndroidManifest.xml attributes from merged manifest
body: <p>I have a library project and 2 application projects. I have activities declared in library project's AndroidManifest.xml and have <code>manifestmerger.enabled</code> set so the library manifest is merged with the two application manifests.</p>
  
  <p>I want to override an activity attribute in application manifest. Specifically, I have the following declaration in library project's manifest:</p>
  
  <pre><code>&lt;activity
    android:name=".sample.Activity1"
    android:hardwareAccelerated="true"
    .... /&gt;
  </code></pre>
  
  <p>And I want to override <code>hardwareAccelerated</code> attribute in one of the application project to <code>false</code>.</p>
  
  <p>Putting the same activity declaration but with `hardwareAccelerated="false" in the application manifest causes an error when building:</p>
  
  <pre><code>[mergemanifest] Merging AndroidManifest files into one.
  [mergemanifest] Merging manifests from project and 4 libraries.
  [mergemanifest] Error: [AndroidManifest.xml:32, AndroidManifest.xml:57] Trying to merge incompatible /manifest/application/activity[@name=.sample.Activity1] element:
  </code></pre>
  
  <p>Apparently, manifestmerger only allows you to merge manifest files and no mechanism for overriding declaration. Giving the use case I am trying to achive, what would be the alternatives that allows me to specify different values for an activity without having to duplicate activity declaration in both application projects?</p>