title: Android scaling of images to screen density
body: <p>I have an application with an embedded drawable 48x48 pixel at 71,12 pixels/inch
  I load the same image via a stream to a webserver, then load that stream </p>
  
  <pre><code>return new BitmapDrawable(getActivity().getResources(), new ByteArrayInputStream(imageThumbnail));
  </code></pre>
  
  <p>the displayed result is:</p>
  
  <p><a href="https://i.stack.imgur.com/vOluu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vOluu.png" alt="screenshot"></a></p>
  
  <p>How can i get the BitmapDrawable to scale the same as the rest of the drawables?</p>