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