Android screen size handling and the 3 4 6 8 ratio
===

  I know this has been covered before here as I have read such posts as :

[http://stackoverflow.com/questions/11167537/scaling-ratio-in-android-images][1]


and from the Android site :
[http://developer.android.com/guide/practices/screens_support.html][2]


which has bee helpful in understanding the calculation for the images required for the :
LPDI
MDPI
HDPI
XHDPI

  densities , however my issues is that although I have done image sizes of 36x36 for the LPDI screen and tested this small screen via the emulator I found that 48x48 to be too small for the MDPI/normal size screens and from here the 72x72 too small for the HDPI/large and the 96x96 for the XHDPI/xlarge . What i did do was make the MDPI 72x72 but still found that the 96x96 was still too small for the HDPI/Large screen. It almost appears to me that I will need to double the size calculated by this ratio 3 4 6 8 after the LDPI.

Am I missing something here because I creating images buttons (not using the imagebutton object but the button with a background) I read about the nine patch bitmap but my understanding of this is for screen the image if the size of the button changes. The buttons size at the moment simply changes to the size of the background image so if it is 36x36 that is what the button size will be. If I was to base the image on the button size, it will still mean that the button itself will need to be big enough for the different screen sizes.

 I have spent a lot of my time try to figure this out at the moment and feel like I am banging my head against a brick wall . I am working with Android 2.1 as I started with 1.6 but with recent issues I had (On another post) , I moved forward to 2.1 .

Can someone please point me in the right direction so I can move on with my app :)


  [1]: http://stackoverflow.com/questions/11167537/scaling-ratio-in-android-images
  [2]: http://developer.android.com/guide/practices/screens_support.html