From 0d221012ff5fd314711c00ed30e9b807b9c454c1 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 29 Jul 2009 15:41:19 -0700 Subject: Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA It turns out we were not returning the density for anything retrieved from a TypedArray... which basically means any bitmap references from a layout or style...!!! This is now fixed. Also fiddle with the density compatibility mode to turn on smoothing in certain situations, helping the look of things when they need to scale and we couldn't do the scaling at load time. --- tests/DpiTest/res/values/styles.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tests/DpiTest/res/values/styles.xml (limited to 'tests/DpiTest/res/values') diff --git a/tests/DpiTest/res/values/styles.xml b/tests/DpiTest/res/values/styles.xml new file mode 100644 index 0000000..bb4b13c --- /dev/null +++ b/tests/DpiTest/res/values/styles.xml @@ -0,0 +1,35 @@ + + + + + + + + + + -- cgit v1.1