context.getResources().getConfiguration() context.getResources().getDisplayMetrics()
those two would tell you what you need to know. On Jun 15, 6:24 pm, powerdroid <[email protected]> wrote: > Is there a way to know which density-specific resources are being used > during runtime? I have an application that will provide appropriate > sized png files for the various densities. However, we keep > information based on specific pixels and use this information during > runtime. Thus, I would need to know which resources are being used > and whether they are being scaled at all. Is there a way to do this? > (is this where density-independent dp units come into play?) > > PD -- 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

