Question

I'm required to design an apps for android. And after some reading, I find out android device are divided into few categories in term of resolution, like

  • small screen
  • normal screen
  • large screen
  • extra large screen

but in different density.

So lets say, now I need to come out a design for normal screen, what resolution that I should use for the "look & feel" of the apps UI.

From the reading, I know android apps are use dp instead of px. So, is it means I have to convert few specific screen size to dp before I start to design ?

Or I just simply target a common resolution for normal screen size like 320x480, provided I will have few set drawable in different density ?

Please correct me if I had mistaken it.

Thank you

Was it helpful?

Solution

Good question, so far we have 5 screen densities : xxhdpi,xhdpi,hdpi,mdpi,ldpi , now if you have an image resource you will need to create 5 copies of it, its always recommended to start by the xxhdpi till you reach to the smallest,

however you can use online calculators that will calculate the PX and DP for all the densities, i recommend these two tools android developer toolbox and developers tools, and with developers tools you can test the colors, and how are they going to look like in the screen in HEX decimal.

OTHER TIPS

Yes it is true android has following types of devices LDPI MDPI HDPI XHDPI

http://developer.android.com/guide/practices/screens_support.html

this link gives you all the description and ya you have to create icons and images supporting to all the devices resolution wise.

There are various devices with various screen sizes. Usually, they are mentioned as LDPI, MDPI, HDPI or XHDPI devices.

Although, in coding there are many things to be kept in mind so that you achieve a good uniform design in all your devices !

Refer to this link. It is always good to follow official sites, rather than other tutorials out there. Make a habit of using relativelayout !

Also in the link you can explore many things to get the knowledge of designing in Android.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top