Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Created August 28, 2013 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-piekarski/6368051 to your computer and use it in GitHub Desktop.
Save chris-piekarski/6368051 to your computer and use it in GitHub Desktop.
Android config.xml
Add res/values/config.xml
<resources>
<bool name="config_hardwareAccelerated">true</bool>
<bool name="config_largeHeap">false</bool>
<bool name="is_large_screen">false</bool>
<bool name="allow_rotation">false</bool>
</resources>
Get values with:
android:hardwareAccelerated="@bool/config_hardwareAccelerated"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment