Question: How to get the screen density programmatically in android? I mean: How to find the screen dpi of the current device? Best Answer: You can get info on the display from the DisplayMetrics struct: Though Android doesn’t use a ...