Click here to Skip to main content
16,019,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If I have android device with 5 inches diagonal screen size and 2.3 inches screen width and its screen supports 1080*1920 pixels what is the nearest type of its screen density?how can solve this question.
Posted

1 solution

That totally depends on your device's manufacturer, how he has set up the pixels and all other stuff.

However, in Android there are some built-in features for supporting different screens[^]. You can add your graphics resources in different folders, and Android would automatically check which of them is best suitable for each device. That is how, high and low pixel density devices are able to see (approx.) the same results of the user-interface.

Anyways the value you have provided us with (1080x1920) has a PPI (pixels per inch) of 100.13 PPI. You can try out different values at: https://www.sven.de/dpi/[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900