Search code examples
androidresolutionnexus-sppi

Designing for Android - Resolution?


I'm designing an app for android, and the main devices we're targeting are Nexus S and Galaxy Tab, so I wonder which resolution should I design for and what PPI to use? I'd be using photoshop.

Surprisingly, I couldn't find a single decent PSD template for android while there are tons available for iOS, or maybe I'm just not looking at the right place?

Many thanks


Solution

  • The Nexus S and Galaxy Tab both have HDPI screens. The layout sizes are:

    • Nexus S: Normal
    • Galaxy Tab: Large

    For HDPI graphics the nominal resolution is 240 DPI. The size of a graphic should be

    pixels = dips * (density / 160)

    which for HDPI devices becomes pixels = dips * 1.5, where dips is the size of the object in density independent pixels.

    This means a 16x16 normal (MDPI) icon should be 24x24 pixels on an HDPI device to maintain the same size graphic.

    The screen sizes are:

    • Nexus S: 480x800
    • Galaxy Tab: 1024x600

    so just make your mockups this size.