title: Android drawables DPI
body: <p>I have an Android app with 4 versions of the same image, in each of these folders:</p>
  
  <p>drawable-ldpi/<br />
  drawable-mdpi/<br />
  drawable-hdpi/<br />
  drawable-xhdpi/<br /></p>
  
  <p>The only difference between the images is the size, I simply took the original large image and scaled it down according to the formula:</p>
  
  <p>120dp lpdi, 1 dp=0.75 px<br />
  160dp mpdi, 1 dp=1 px<br />
  240dp hdpi, 1 dp=1.5 px<br />
  320dp xhpdi, 1 dp=2 px</p>
  
  <p>The problem is I intend to have over 100 images, so to reduce the file size can't I just put the xhdpi versions in the drawables/ folder instead of having 4 versions of each image, then Android can scale the image as required?  What is the disadvantage of doing it this way?  Is it simply a trade off between performance and file size?</p>