title: Android: How to stop Android 1.6+ from scaling images
body: <p>I updated my build to build against Android 1.6, and now my bitmaps are scaled down on high density screens. I do NOT want this behavior. I gave this a shot:</p>
  
  <p><a href="http://blog.tomgibara.com/post/190539066/android-unscaled-bitmaps" rel="nofollow">http://blog.tomgibara.com/post/190539066/android-unscaled-bitmaps</a></p>
  
  <p>but the images are STILL scaling, that is UNLESS I set them to a specific height &amp; width. If I use <code>wrap_content</code> they are scaled down.</p>
  
  <p>I have an image loader using the unscaled bitmap loader to create a drawable like so:</p>
  
  <pre><code>Bitmap bm = UnscaledBitmapLoader.loadFromResource(imageBufferInputStream);
  drawable = new BitmapDrawable(bm);
  </code></pre>
  
  <p>which I later assign to an ImageView like so:</p>
  
  <pre><code>imageView.setImageDrawable( copyBitmapDrawable( (BitmapDrawable) drawable) );
  </code></pre>