I start developing a new Android application from scratch these days.
The company I work for has its own designer.
The designer asked me for the sizes of screens she should design for and I didn’t know what to tell her – I want to support all the Android based smartphones with all the different densities and screen sizes.
I’m familiar with this doc about supprting multiple screens.
Question #1:
So, can I assume that all the smartphones are “normal” screen size, and look at “Table 3” at the bottom of link I’ve added, at the “Normal screens” row and tell the designer that I need 4 versions of each page, as listed in this row: WQVGA400 (240×400), HVGA (320×480), WVGA800 (480×800) , 640×960 ?
Will these resolutions cover all the Android based smartphones?
Question #2:
While working on the project, the designer might tell me:”the title bar should be 40px long in the 240×400 screen”, how can I translate these pixels into dip‘s? How can I achieve easy daily work when it comes to working with the designer? Should I just develop first only for mdpi, on 320×480 screen where 1 pixel = 1 dip and then no translation is needed?
Thanks in advance!
The new Android Design Guide should give you all information you need.
The transformation between dip and px is based on the type of dpi you have and not on the screen size. Define your own title bar to make sure, that the height is the specified one.