title: Setting android:hardwareAccelerated="true" in <activity> or in <application>
body: <p>I want my app, which relies heavily on GPU, to use hardware acceleration. On some forums I've been suggested to set <code>android:hardwareAccelerated="true"</code> inside <code>&lt;application&gt;</code> and on other forums same attribute inside <code>&lt;activity&gt;</code> inside my <code>AndroidManifest.xml</code>. Below is the representation of what it looks like:</p>
  
  <pre><code>&lt;application
      ...
      android:hardwareAccelerated="true"
      ...&gt;
      &lt;activity
          ...
          android:hardwareAccelerated="true"
          ...&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>I ended up setting in both, yet I wonder, which one is the right way, and what is the difference?</p>