Added getDeviceDensity() method in DpUtil class