The scaling of images is not working correctly on Galaxy Tab with Android 2.2 which is running in non compatible mode.
I forced the OS to run in non compatible mode (see here) to support native screen resolution.
I want to show 32x32 pixel pngs (imageView width and height is set to 32). Before, in compatible mode, they scaled to 48x48 pixels. Ok, that's because the OS simulates 683x400 screen resolution. Now, in non compatible mode, with the correct screen resolution 1024x600, the pngs scale to 21x21 (in both cases factor 1.5)!
I would expect that the images are not scaled in this mode?!
2 Answers
How are you measuring the scaling? Please provide a small sample and screenshots that exhibit your issue. Google allows you to upload files and share them via a link. If you have Dropbox you can also share a link from your public directory.
I uploaded a screenshot of the kitchen sink example and a second screenshot of the sample that is filed here.
The images are downscaled to 21x21 (factor 1.5) in the leftImage of the tablerow, in the menu and in the tabs. You can also see the error of the canScale property. In my app I have some more scaling issues but can't drill it down to the sample right now.
I measured the factor with a paint application, where I compared the pixels in the screenshot with the original pngs.
Your Answer
Think you can help? Login to answer this question!