Android App Solution

I need to develop android apps. And after some reading, I found out that the Android device is divided into several categories in terms of resolution, for example

  • small screen
  • regular screen
  • big screen
  • Extra large screen

but with different densities.

So, let's say, now I need to release a design for a regular screen, which resolution should I use for the "appearance" of the application user interface.

From reading, I know that Android apps use dp instead of px. So, this means that I need to convert some specific screen sizes to dp before I start designing?

Or am I just aiming for a general resolution for a normal screen size, like 320x480, provided I have several sets with different densities?

Please correct me if I made a mistake.

thanks

+4
source share
3 answers

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, it is always recommended to start with xxhdpi until you reach the lowest ,

however you can use online calculators that will calculate PX and DP for all densities, I recommend these two developer tools and Android tool developer tools and developer tools that you can check the colors and how they will look like on the screen in HEX decimal.

+1
source

Yes, it’s true, Android has the following types of LDPI devices MDPI HDI XHDPI

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

This link gives you all the description and you need to create icons and images that support all reasonable device resolutions.

0
source

There are various devices with different screen sizes. They are commonly referred to as LDPI, MDPI, HDPI, or XHDPI devices.

Although there are many things to do in coding, you need to keep in mind for you to achieve a good, consistent design across all your devices!

Refer to this link. It is always useful to keep track of official sites, rather than with other textbooks. Make a habit of using relativelayout!

Also in the link you can learn many things to get an idea of ​​development in Android.

0
source

Source: https://habr.com/ru/post/1489409/


All Articles