In my app I want to have a Screen in which the background is an image. That image will be stored in drawable, and I'm aware that I'll need to store versions of the same image but different sizes in the other drawable folders in order to support varying screen sizes/densities.
I found this information:
ldpi: Low-density screens; approximately 120dpi.
mdpi: Medium-density (on traditional HVGA) screens; approximately 160dpi.
hdpi: High-density screens; approximately 240dpi.
xhdpi: Extra high-density screens; approximately 320dpi. Added in API Level 8
My question though, is how do I know what size my image should be for each respective folder in pixels? The screen in which this image will be the background can only be viewed in portrait mode, so I'm wondering about sizes in respect to portrait layout.