Re: [android-developers] Detecting which drawable folder was used.

2009-11-26 Thread Romain Guy
Hi, You do not need to do this since the framework will resize the bitmaps for you automatically if their density does not match the screen's. On Thu, Nov 26, 2009 at 8:03 AM, Joshua Frank wrote: > Is there a way to detect whether a image was pulled from the folder > res/drawable or res/drawable

[android-developers] Detecting which drawable folder was used.

2009-11-26 Thread Joshua Frank
Is there a way to detect whether a image was pulled from the folder res/drawable or res/drawable-hdpi? I am trying to save space and have a program that is using some hdpi bitmaps and some mdpi bitmaps. When an image is placed in drawable-hdpi it automatically replaces the mdpi version. I need to