> As far as I understand from this thread, after changing target SDK to > android:targetSdkVersion="4, method BitmapFactory.decodeResource > changes behavior and now scales images according to screen dpi. Is > that right?
The targetSdkVersion does not matter. > So if I got it right, after moving to 1.6 decodeResource will now > randomly scale my bitmaps, and anyone using my method (which is valid > for 1.5) has to go through all their code and change all > decodeResource calls now. It's not random. Images are scaled according to the resolution of the screen and their original directory. If you want images to not scale just put them in drawable-nodpi, or use BitmapFactory.Options to disable scaling. -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

