title: How to use PrepareBitmap method for all the different sizes
body: <p>The question is this: I have a picture I want to use it in a costum view, so I have to use the Preparebitmap methode where I have to specify the picutres which I want to draw and the Width/Height that the picture will take.</p>
  
  <p>I created the image for all the sizes, I mean there's the same picture with different resulotion (I placed them in the drawable folders (ldpi, mdpi...)); so the main question is how to draw the bitmap to be shown perfectly with all the screen, maybe the following example will clear my problem:</p>
  
  <pre><code> appLogo = prepareBitmap(getResources().getDrawable(R.drawable.applogo), 100, 100);
  </code></pre>
  
  <p>the bitmap will be drawn in 100X100 space, so in bigger screens, the image will be small, even if it exist in the xx-hdpi folder. Is there any way how to get the real size of the image whatever the screen was ? I want something like: </p>
  
  <pre><code>appLogo = prepareBitmap(getResources().getDrawable(R.drawable.applogo), Height, Width);
  </code></pre>
  
  <p>with Height/Width are the real Height/Width of the image.</p>
  
  <p>Thank you </p>