summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-08-14 16:45:30 -0700
committerDianne Hackborn <hackbod@google.com>2012-08-14 16:51:38 -0700
commit756220bd1912535840388a6743830d2e59ad4964 (patch)
treeee97c666d4bb1f015fd3e89463af09c712ce47e4 /Android.mk
parent863b19bc8fcfa436011781b67a237fcce3cb703a (diff)
downloadframeworks_base-756220bd1912535840388a6743830d2e59ad4964.zip
frameworks_base-756220bd1912535840388a6743830d2e59ad4964.tar.gz
frameworks_base-756220bd1912535840388a6743830d2e59ad4964.tar.bz2
Add API to create new contexts with custom configurations.
This allows you to, say, make a Context whose configuration is set to a different density than the actual density of the device. The main API is Context.createConfigurationContext(). There is also a new API on ContextThemeWrapper that allows you to apply an override context before its resources are retrieved, which addresses some feature requests from developers to be able to customize the context their app is running in. Change-Id: I88364986660088521e24b567e2fda22fb7042819
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions