Hello there, I've read http://developer.android.com/guide/practices/screens_support.html and http://groups.google.com/group/android-developers/browse_thread/thread/ed305e5d08f11202/6b8feb7a05d9ef6b and http://groups.google.com/group/android-developers/browse_frm/thread/518ee3894af29650 and more related sources.
Still, what and when to set android:anyDensity to I find hard to figure out. So, are these conclusions correct: 1- android:anyDensity has been introduced really only for "older" apps (1.6 level 4 or lower) because those were most likely built with hardcoded density-dependent values like 'px'? And apps with level before 4 even don't understand density dependent resource directories like res/drawable-hdpi? By setting android:anyDensity="false", Android tries to scale those resources that use px values and in 'res/drawable' to match the device's real screen density. >From level 5 onwards it is a well-known best-practice to always use dp and sp and density dependend resource directories, so usually apps take care themselves of being independent using those. And thus normally for those apps android:anyDensity="true" is sufficient (no auto-density-scaling). 2- If android:anyDensity="false" are these density dependend resource directories plainly ignored as mentioned in this thread? http://groups.google.com/group/android-developers/browse_frm/thread/518ee3894af29650 But: how does the android:anyDensity="true" or "false" relate to resources that you might have put in res/drawable-mdpi and res/ drawable-hdpi etc? Does that setting then only have effect for those density resources you didn't specify in any configuration specific density-directory, and how? 3- And what if I'm lazy and for any app I make I don't want to create density specific resources (like images), so only have the 'res/ drawable' dir, but do use dp and sp everywhere... What should android:anyDensity be set to then? My guess is "false" so Android will alwyas scale my resources from 'drawable'... Regards, Marco -- 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

