Is there any formula or way of knowing the following questions without having to "build up" every time to check?
- How to know if that Image / Text / Button or whatever is visibly good for the user on the particular screen that has an dpi type?
- How to know what dp I need to align the Image / Text / Button or whatever is to be correctly in (Header, Footer, Center, Right, or Left) correctly for each screen.
The knowledge I have is as follows:
- ldpi (low) ~ 120 dpi
- mdpi (average) ~ 160 dpi
- hdpi (high) ~ 240 dpi
- xhdpi (extra-high) ~ 320 dpi
- xxhdpi (extra-extra-high) ~ 480 dpi
- xxxhdpi (extra-extra-extra-high) ~ 640 dpi
Density independent pixel: Converting pixel units to screen pixels is simple: px = dp * (dpi / 160)